Youtube playlist
VLC Playlist Parsers
Description:

Import a youtube video / playlist into VLC.


INSTALLATION:
- click on the download button below
- when the file appears click on the menu file > save as... of your browser
- put the file in the vlc /lua/playlist folder, by default:
* Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\playlist\
* Windows (current user): %APPDATA%\vlc\lua\playlist\
* Linux (all users): /usr/lib/vlc/lua/playlist/
* Linux (current user): ~/.local/share/vlc/lua/playlist/
* Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/playlist/
(create directories if they don\'t exist)
/!\ Some browser (Chrome...) may change the file extension for ".txt" instead of ".lua", so make sure you choose "All extensions" in the dialog box when you save the file on your computer.

USAGE:
- Copy the URL of the youtube video or playlist (must contain "list=PL...")
- Start VLC, press Ctrl+N, paste the url then click on "Play" (or Alt+P then Enter), the video /playlist should start

Troubleshooting:
/!\ Follow this steps if and only if you have already install the script and it doesn't work..
/!\ for the actual script see the "download" button (playlist_youtube.lua) below.
If the videos list appears in the Vlc "playlist" view but the videos won't start, follow this steps:
1) delete the file "youtube.luac" in [Vlc directory]/lua/playlist directory (ex: c:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac)
2) get the latest version of thr "youtube" script from here:
https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
3) place the file in the directory [Vlc directory]/lua/playlist (where "youtube.luac" was)

/!\/!\/!\ Please do not paste your raw error log here, use a pastebin service like pastebin.com.

Changelog:

1 year ago

- display clean video title and thumbnail
- Add support for playlist with 100+ videos
- fix change in youtube playslists

3 years ago

gelf

Thank you for the help. Still having teething issues but will play around

Report

3 years ago

cipricus

in Firefox (e.g.) "File/Save page as..."

Report

3 years ago

dias75

It does not work with all versions of the player?

Report

3 years ago

exebetche

Nope, since the last update you have to get a recent version of vlc.

Report

3 years ago

dias75

What should be the version?
2.0.5 from VLC Daily Build of stable branch
https://launchpad.net/~videolan/+archive/stable-daily?field.series_filter=precise

or 2.1.0 from VLC Daily Build of master branch
https://launchpad.net/~videolan/+archive/master-daily?field.series_filter=quantal

Report

3 years ago

exebetche

I'm on 2.0.5, I dunno if it works or not on dev branch

Report

3 years ago

exebetche

Why don't you take the current vesrion from the main site?
http://www.videolan.org/

Report

3 years ago

ringen00

ahh - great it works again thanks!!

Report

3 years ago

ringen00

the start pictures are running through!
not one video is played!

Report

3 years ago

imusgr

that's right does not work anymore.
Hope some one will fix it soon.

best Regards

Report

4 years ago

Silberling

Hi.

This script above overrides the default vlc youtube "single-video" script. This is the reason why the video resolution is so low.
I dropped all of the code except that is neccessary for the list parsing.

Now you can import lists and the best possible video resolution is picked by the default youtube handler.

http://pastebin.com/XC7wdCfr

Hope this helps somebody

Kai

Report

4 years ago

gomozan

You're awesome!
Thank You

Report

4 years ago

kishoreiit49


Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

4 years ago

thinking-aloud

hello,
I encountered a few problems and like to share how I fixed them with the 5 point debuging info on page 2 by exebetche. I am using Fedora 17 Linux x64 and VLC 2.0.5
I got an error that the "function descriptor()" is missing, so I opened the .lua file and inserted it below the initial comment:

function descriptor()
return {
title = "Youtube playlist importer";
version = "1.0";
author = "exebetche";
url = 'http://addons.videolan.org/content/show.php?content=149909';
description = "This VLC extension lets you import playlists from YouTube.";
capabilities = {"input-listener"} }
end

Here is a direct download with my version of the file: http://www.share-online.biz/dl/WD83LZFMP9A6


I also put the file in the "/lua/extensions/" folder and not the "/lua/playlist" folder.

Ps. I hope this helps


Greetings Lennart

Report

4 years ago

thinking-aloud

lua warning: Error while running script /usr/share/vlc/lua/extensions/playlist_youtube.lua, function activate() not found

grr, this is still not working, but I don't have time now.

Report

4 years ago

kishoreiit49

Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

4 years ago

kishoreiit49

Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

4 years ago

kerkain

I can get it to play the playlist all the way through but it doesn't play it in the best selected quality. It seems to default all the way into 240 or 360p instead of 720 even though its available.

I've put the .lua file into the %appdata% folder and even tried putting it in the program files x86 vlc lua playlists folder with a .luac extension and still gives me the poor quality.

If I remove the .lua completely then VLC will play in 720p without a hitch.

Is there a fix for this or something else I can try?

Report

4 years ago

Horizon

I face the same problem although the locked resolution is 480. is there a workaround or updated script?
WIth my native display at 1440x900 anything below 720 looks like Minecraft.


Running VLC 2.0.5 on a Macbook pro.

Report

4 years ago

Horizon

A workaround for full resolution. Disable playlist addon (just add .dead after .lua) Extract urls from youtube playlist by using an extension/plugin of your choice (I used link clump for chrome and set to copy urls to clipboard) open text document, write #EXTM3U on the first row and then enter and paste the video urls, save as M3U. Now you have a complete playlist that will play in highest resolution, although you have completely circumvented this lua-script.

Sorry but this is the only thing I have found that works until this script is updated.

Report

4 years ago

panosmdma

I just register here to thank you!!!
(System Fedora 17 x64)

Report

4 years ago

aravindiitr

saving this file as "all files" didn't work. You can download the proper .lua file from this link here :

http://knolzone.com/how-to-play-an-entire-youtube-playlist-in-your-vlc-player/

enjoy!!

Report

4 years ago

coolpoete

Thank you, but using a download manager helped me to save the file correctly.

Report

4 years ago

kishoreiit49

Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

4 years ago

coolpoete

I'm not sure why I am having trouble with this, i tried following all directions. I'm on Win 7 64 Ultimate. When I look in the \program files\videolan\vlc\lua\playlist folder all the other files are .luac and per other posts here it says make sure it says .lua Also, when I save as from the browser it is saying its a txt document but all the other files are labled as "LUAC files". What I'm getting is that it will play the first video but not the entire playlist. Help please!

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 79%
79.00 Likes
21 Dislikes

0 Supporters for Youtube playlist:

Recent Donations:

Be the first to donate
show all
Details
version
updated Aug 22 2015
added Apr 04 2012
downloads
page views 52614
support exebetche
For The Product
Youtube playlist
5 - 10 - 25 - 50 - 100 - 200 - 500