Youtube playlist
VLC Playlist Parsers
Score 81%
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.
Last changelog:

5 years ago

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

legluondunet

4 years ago

Does not work for me on Ubuntu 13.04 and VLC 2.0.6 Twoflower.

Report

C

exebetche

4 years ago

Could you be more specific? Or better give me the debug log: (use ctrl + M and set verbosity level to 2 before you launch the playlist).
Please and thank you.

Report

bergschreck

4 years ago

Also does not work for me on Debian Wheezy and VLC 2.0.3. This is the debug log:

main debug: adding item `http://www.youtube.com/watch?v=fhGF1PWJc0I' ( http://www.youtube.com/watch?v=fhGF1PWJc0I )
qt4 debug: Adding a new MRL to recent ones: http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: rebuilding array of current - root Wiedergabeliste
main debug: rebuild done - 1 items, index -1
main debug: processing request item: http://www.youtube.com/watch?v=fhGF1PWJc0I, node: null, skip: 0
main debug: resyncing on http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: http://www.youtube.com/watch?v=fhGF1PWJc0I is at 0
main debug: starting playback of the new playlist item
main debug: resyncing on http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: http://www.youtube.com/watch?v=fhGF1PWJc0I is at 0
main debug: creating new input thread
main debug: meta ok for (null), need to fetch art
main debug: Creating an input for 'http://www.youtube.com/watch?v=fhGF1PWJc0I'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: `http://www.youtube.com/watch?v=fhGF1PWJc0I' gives access `http' demux `' path `www.youtube.com/watch?v=fhGF1PWJc0I'
main debug: creating demux: access='http' demux='' location='www.youtube.com/watch?v=fhGF1PWJc0I' file='(null)'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 0.196 ms - Total 0.196 ms / 1 intvls (Avg 0.196 ms)
main debug: creating access 'http' location='www.youtube.com/watch?v=fhGF1PWJc0I', path='(null)'
main debug: looking for access module: 2 candidates
main debug: looking for meta fetcher module: 1 candidate
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
main debug: using meta fetcher module "lua"
main debug: TIMER module_need() : 0.692 ms - Total 0.692 ms / 1 intvls (Avg 0.692 ms)
main debug: removing module "lua"
main debug: searching art for http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder module matching "any" could be loaded
main debug: TIMER module_need() : 1.225 ms - Total 1.225 ms / 1 intvls (Avg 1.225 ms)
main debug: art not found for http://www.youtube.com/watch?v=fhGF1PWJc0I
qt4 debug: IM: Setting an input
access_http debug: asking libproxy about url 'http://www.youtube.com/watch?v=fhGF1PWJc0I'
access_http debug: libproxy suggest to use 'direct://'
access_http debug: http: server='www.youtube.com' port=80 file='/watch?v=fhGF1PWJc0I'
main debug: net: connecting to www.youtube.com port 80
main debug: connection succeeded (socket = 12)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Server: gwiseguy/2.0
access_http debug: Content-Type: text/html; charset=utf-8
access_http debug: Accepting Cookie: YSC=D0imy65U9u8; path=/; domain=.youtube.com; httponly
access_http debug: Accepting Cookie: VISITOR_INFO1_LIVE=6E8Cte8FSaM; path=/; domain=.youtube.com; expires=Fri, 25-Apr-2014 18:11:46 GMT
access_http debug: Accepting Cookie: PREF=f1=50000000; path=/; domain=.youtube.com; expires=Fri, 25-Apr-2014 18:11:46 GMT
access_http debug: Connection: close
main debug: using access module "access_http"
main debug: TIMER module_need() : 325.607 ms - Total 325.607 ms / 1 intvls (Avg 325.607 ms)
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 608 bytes in 0s - 32986 KiB/s
main debug: looking for stream_filter module: 7 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 5.390 ms - Total 5.390 ms / 1 intvls (Avg 5.390 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.066 ms - Total 0.066 ms / 1 intvls (Avg 0.066 ms)
main debug: creating demux: access='http' demux='' location='www.youtube.com/watch?v=fhGF1PWJc0I' file='(null)'
main debug: looking for demux module: 54 candidates
ts debug: TS module discarded (lost sync)
mod debug: MOD validation failed (ext=)
avformat debug: trying url: http://www.youtube.com/watch?v=fhGF1PWJc0I
avformat debug: couldn't guess format
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/playlist
lua debug: Trying Lua playlist script /home/jochen/.local/share/vlc/lua/playlist/playlist_youtube.lua
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/playlist
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/anevia_streams.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/anevia_xml.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/appletrailers.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/bbc_co_uk.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/break.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/canalplus.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/cue.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/dailymotion.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/extreme.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/france2.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/googlevideo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/jamendo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/joox.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/katsomo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/koreus.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/lelombrik.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/metacafe.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/metachannels.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/mpora.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/pinkbike.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/pluzz.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/rockbox_fm_presets.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/soundcloud.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/vimeo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac
lua debug: Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac's probe() function was successful
main debug: using demux module "lua"
main debug: TIMER module_need() : 118.695 ms - Total 118.695 ms / 1 intvls (Avg 118.695 ms)
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 0.346 ms - Total 0.346 ms / 1 intvls (Avg 0.346 ms)
main debug: `http://www.youtube.com/watch?v=fhGF1PWJc0I' successfully opened
lua error: Couldn't extract youtube video URL, please check for updates to this script
main debug: finished input
main debug: waitpipe: object killed
main debug: dying input
main debug: removing module "lua"
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input

Report

C

exebetche

4 years ago

Your version of the script getting the video from youtube is outdated. You can update Vlc (the script is included) or update the script only, the new version is here:
https://raw.github.com/videolan/vlc/master/share/lua/playlist/youtube.lua

Report

bergschreck

4 years ago

Thank you. The new script works. Can you update the download link in the first post?

I cannot update vlc because it comes from the Debian Wheezy package repository.

Report

C

exebetche

4 years ago

The link I give you is not my script, it's from the VideoLAN team. This extension just manage playlists not the videos, so you have to get both youtube_playlist.lua AND youtube.lua uptodate to read a playlist. Anyway I add the link in case someone else have this problem.

Report

ravnik

4 years ago

hi, i'm trying to put a youtube-playlist into vlc.

everything is fine until i click play.

it only switches the pics and nothing else is happening.

Report

C

exebetche

4 years ago

It still works fine for me. Check you have a recent version of Vlc, if not get the last release from https://www.videolan.org. If that still don't work post the URL you paste in Vlc here.

Report

ufoasd

4 years ago

exebetche ++++

Report

ufoasd

4 years ago

works perfectly on ubuntu 12.04
Many Thanks to the creators!

Report

gelf

4 years ago

Hi there new here, was trying to download this file but when I clicked download it goes to the download page for a fraction of a second then goes to a page full of text about the file. Am I not doing something right? i have tried in 2 different browsers with the same result. thank you

Report

aldobelusopen

4 years ago

You have to select all the text, paste it into a text editor and save it to the route suggested in VLC page, depending on the operating system you have. Good luck

Report

gelf

4 years ago

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

Report

cipricus

4 years ago

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

Report

dias75

4 years ago

It does not work with all versions of the player?

Report

C

exebetche

4 years ago

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

Report

dias75

4 years ago

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

C

exebetche

4 years ago

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

Report

C

exebetche

4 years ago

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

Report

ringen00

4 years ago

ahh - great it works again thanks!!

Report

ringen00

4 years ago

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

Report

imusgr

4 years ago

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

best Regards

Report

Silberling

4 years ago

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

gomozan

4 years ago

You're awesome!
Thank You

Report

kishoreiit49

4 years ago


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

5 years ago

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

product-maker tml3nr Nov 05 2017

product-maker aliali2017 Sep 05 2017

product-maker gotekus Aug 11 2017

Excellent

product-maker latiosFR Jul 25 2017

product-maker LittleLizzy May 28 2017

product-maker ELKZ Apr 29 2017

product-maker Stretch Dec 27 2016

product-maker dwmed Dec 05 2016

product-maker BB20101997 Sep 24 2016

product-maker Ragiowan Nov 09 2015

product-maker mcq333 Sep 17 2015

product-maker 99lool May 31 2015

product-maker 9207771739 May 01 2015

product-maker DJXAKEP Apr 25 2015

product-maker ziki Apr 21 2015

product-maker dirtyharry85 Apr 09 2015

product-maker gogo57540 Sep 08 2014

product-maker Doyouknow Jul 31 2014

product-maker rezmen1777 Apr 24 2014

product-maker ktb007 Apr 21 2014

product-maker Attila13 Apr 16 2014

product-maker pereov33 Jan 17 2014

product-maker csuno Nov 27 2013

product-maker DFPOWER46 Nov 18 2013

product-maker Snapafun Aug 29 2013

product-maker DevilinPixy Aug 24 2013

product-maker BurakPatat Aug 03 2013

product-maker GuixLe Jul 25 2013

product-maker legluondunet Jul 07 2013

product-maker cipricus May 17 2013

product-maker Argyle May 13 2013

product-maker ufoasd Apr 10 2013

product-maker ringen00 Apr 04 2013

product-maker zequi Feb 12 2013

product-maker HATRED Jan 09 2013

product-maker equiman Nov 30 2012

product-maker btocher Nov 27 2012

product-maker hernansilva Nov 26 2012

product-maker erosenninrho Nov 26 2012

product-maker sirhcits Nov 25 2012

product-maker meow9th Nov 19 2012

product-maker FracExebetche Apr 23 2012

product-maker 6 6

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
updated Sep 05 2017
added Apr 04 2012
downloads today
page views today