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

EdHunterMH

1 year ago

For example, this video: https://www.youtube.com/watch?v=nM__lPTWThU

The log (just it stops):

core debug: Buffering 99%
core debug: Stream buffering done (59224 ms in 4662 ms)
core debug: Decoder wait done in 0 ms
pulse debug: cannot synchronize start
pulse debug: deferring start (10959 us)
pulse warning: starting late (-3273 us)
pulse debug: started
pulse debug: underflow
pulse debug: underflow
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.hdmi-stereo (Audio Interno Digital Stereo (HDMI))
core debug: VoutDisplayEvent 'resize' 480x360 window
xcb_window debug: key: 0x00000066 (X11: 0x0066)
qt4 debug: Qt: Fullscreen state changed
qt4 debug: Qt: Entering Fullscreen
core debug: VoutDisplayEvent 'resize' 1920x1080 window
core debug: VoutDisplayEvent 'resize' 1920x1080 window
core debug: auto hiding mouse cursor
gnutls error: Decryption has failed.
core error: read error: Connection reset by peer
mkv warning: MKV/Ebml Parser: m_el[mi_level] == NULL
mkv warning: MKV/Ebml Parser: Up cannot escape itself
mkv warning: EOF
mkv warning: cannot get block EOF?
core debug: EOF reached
core debug: waiting decoder fifos to empty
[...]
core debug: waiting decoder fifos to empty
pulse debug: underflow
core debug: finished input
core debug: object waitpipe triggered
core debug: removing module "avcodec"
core warning: can't get output picture
avcodec debug: ffmpeg codec (Google/On2's VP8 Video) stopped
core debug: killing decoder fourcc `VP80', 0 PES in FIFO
core debug: saving a free vout
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.hdmi-stereo (Audio Interno Digital Stereo (HDMI))
core debug: reusing provided vout
qt4 debug: Qt: Fullscreen state changed
core debug: removing module "vorbis"
core debug: killing decoder fourcc `vorb', 0 PES in FIFO
core debug: removing module "samplerate"
core debug: removing module "scaletempo"
core debug: removing module "float_mixer"
core debug: keeping audio output
core debug: removing module "mkv"
core debug: Program doesn't contain anymore ES
mkv debug: Stopping the UI Hook
core debug: removing module "record"
core debug: removing module "http"
core debug: dead input
core debug: changing item without a request (current 0/1)
core debug: nothing to play
core debug: destroying useless vout
core debug: removing module "xcb_glx"
core debug: removing module "glx"
qt4 debug: IM: Deleting the input
qt4 debug: Qt: Quitting Fullscreen
dbus_screensaver debug: got cookie 12513
core debug: removing module "dbus_screensaver"
core debug: removing module "freetype"
core debug: removing module "yuvp"
core debug: removing module "swscale"
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.hdmi-stereo (Audio Interno Digital Stereo (HDMI))
dbus debug: Getting property CanControl
dbus debug: Getting property PlaybackStatus
dbus debug: Getting property PlaybackStatus

Other videos, as www.youtube.com/watch?v=Kvqr366Op3k plays OK.

In the browser all plays ok.

I have the last youtube.lua and playlist_youtube.lua in my systems.

Report

mcq333

1 year ago

I saw your video, It works fine with me, Try installing the last version of VLC.

Report

xrosax

1 year ago

I was wondering if there is a way to have 1080p or 4k video quality on the playlist video quality?.

Report

mcq333

1 year ago

I wrote this on page 11 but I think it should work:

1.Create another direct acces to VLC and change the name to "VLC YT" or something.
2. Right click on your new direct acces and click on preperties.
3. Go to the direct acces section, and find de Destiny text box.
4. The destiny should be these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
You habe to add: --preferred-resolution=240
And now it should look like these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=240

But in your case, you should put 1080 on preferred resolution: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=1080

Hope it helps.

Report

xrosax

1 year ago

Whats a direct access , I don't see that option in any of the obvious win32 menu items in VLC?

Report

mcq333

1 year ago

Let's try with a gif:
https://i.gyazo.com/3efb5ed9dd15a2e79c796af3495d54b9.mp4

Report

xrosax

1 year ago

Thank you :D

Report

TheHaruFenix

1 year ago

My playlist is jumping when several active Random songs of VLC, how can I fix?

Report

EdHunterMH

1 year ago

A fea days ago, when the video plays, the title changes always to #e62117.

Report

EdHunterMH

1 year ago

The last youtube.lua repair this, thx.

Report

hsw98

1 year ago

Not sure why but the script doesn't seem to fully work for me. It only plays the first video from the playlist and the other video doesn't appear in the playlist.

There's only a single video working. I've tried everything I could. The only thing that seemed to load the full playlist for the video was the old script when you uploaded it long time ago and it loaded the playlist but the videos wouldn't play.

Report

instructor

1 year ago

Hello,

The playlist plugin works well, with some songs being skipped. Since the lua selects the highest quality (as mentioned by kaigillmann), I'd like to change it to select Audio Only or Lowest possible quality, yet I struggle to find the proper argument in the lua (Or perhaps in the Open Media > Edit Options menu). Any help would be appreciated! :)

Report

instructor

1 year ago

It seems that this subject has already been discussed. I apologize for posting, please ignore or delete thank you.

Report

dev99

1 year ago

Hi,

Here is my setup:

Win 7 Home 64 bit
VLC version 2.2.0

The URL is: https://www.youtube.com/playlist?list=.....

I downloaded the file and copied it to both directory locations under "Program Files" and "Program Files(86)". I have also updated the youtube.lua file. A single vid link from youtube does play.

Thanks.

Report

mehdih

1 year ago

Hey guys,
I think YouTube has changed the structure of their video links to ensure everyone uses only browser or their app to view contents that are copyrighted and are forced fed with Ad contents.
It's been few days that I'm not able to open any such video links (ie VEVO music video).

Is anybody else facing the same issue?
Try the following link and see if you can open it:
https://www.youtube.com/watch?v=djbFQKzkiRg

Thanks

Report

exebetche

1 year ago

The script has been updated to fix this problem. You can find it here:
https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua

You have to remove the script "youtube.luac", in "%ProgramFiles%\VideoLAN\VLC\lua\playlist\" if you are on Windows and replace it with the new one.

Report

mehdih

1 year ago

Thanks a lot man!
It worked.

Cheers

Report

s1ckb0y

1 year ago

¬°Gracias che! :D

Report

mehdih

1 year ago

Hello,
I think it happened again today!
It seems YouTube is changing their video link format more frequently.
Is there a new lua file available to match YouTube's new changes?

On a separate note, is there anyway to change the script in YouTube.lua to only play videos with 720p and up? In other words if the video resolution is less than 720p then it skips to next video in playlist. Any hints would be much appreciated.

Cheers

Report

mehdih

1 year ago

Found the new modified lua file.
Here is the link:
http://git.videolan.org/?p=vlc.git;a=blob;f=share/lua/playlist/youtube.lua;h=7089960b48f81351adb6f336b5a3524ee8ec97ba;hb=71b243f49fa89807adb30e84d026a0318200ccdc

Report

iamjonny

1 year ago

have ya got this working with 64bit?

I tried, got errors on all videos, tried deleting / replacing the lua thing, tried x86, all unsuccessful

Report

cusius

7 months ago

Hi, I'm using the latest "youtube.lua" script and "playlist_youtube.lua" script and I have skipping songs. How to fix it. I tried to find the fix in these comments but all say to update the script and I have done so. Should I only have one of these scripts or what else can I do?

Report

ikuria

1 year ago

i get a strange folder structure for each loaded video, is that normal? example: http://www2.pic-upload.de/img/28833736/vlc.png
how to get rid of this? thx

Report

exebetche

1 year ago

I don't have this problem. Are you using the last version of Vlc?

Report

ikuria

1 year ago

when the file is active, you got no folders?

Report

5 years ago

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

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
25
page views today 92