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.
Last changelog:

1 year ago

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

Musame

3 days ago

Works with the newest 64bit version of VLC.

Report

lrnz0

19 days ago

Thanks a lot!!!

Report

weazul

2 months ago

I'm having a bit of a problem, i put the link for a playlist with like 80 vids into VLC, but half of them will have an error that says "Your Input cant be opened." It will list all the videos in the VLC playlist and even display all the tumbnails, but half the videos wont play and get skipped over. I know the vids worked because when i tried to put the videos in separately they work perfectly

Report

AlvaroX

3 months ago

Works fine, here I give you 3 suggestions.

1.- For the YouTube videos and playlists; Let us choose the dimensions of the streaming video, like 144p. Because many of us still have slow connections around the world, or we don't want to slow our downloads or navigation.

2.- Let us choose ONLY AUDIO in case we hear music in youtube and load only the thumbnail instead of the video.

3.- Make it work with DailyMotion, Vimeo, TuTv, RuTube, and more video hosting or streaming.

Report

matter28

3 months ago

Click tools / options / all (at the bottom left) / Input/codecs
There you can set the preferred video resolution
I guess somehow you can set it to only audio there too

Report

AlvaroX

3 months ago

Thank you, you're so nice for the answer, it was useful. Good bye.

Report

cusius

3 months ago

Can somebody to help fix the song skipping?
I tried to search for an answer in the comments but all it said was update the script "youtube.lua"
and I did it but it didn't do nothing. Still skipping. Is it okay that I have both files "youtube.lua" and "playlist_youtube.lua" in the folder?

Report

matter28

3 months ago

I'm pretty sure about this but still I might be wrong.
I noticed that the skipping happens when connection issues happen. If i disconnect from the internet just for a second the download stops and the video plays only till it gets to end of the downloaded part. So basically if the downloading of the video stops it can't be resumed.

Report

cusius

3 months ago

okay. That could make sense. Today I was testing this at my work for the first time and there many people have one internet speed. Maybe that's why. Now I'll test at home (here I have better connection)
Thank you so much for the very fast reply!

Report

matter28

3 months ago

You're welcome, but never mind what i said. It may be true but even with a stable connection it seems to skip the end of a few videos. Maybe there's something about their length

Report

arsa37

4 months ago

Is this still being looked on ? would appreciate if the playlist wasn't limited to 200

Report

matter28

3 months ago

i figured out how to increase it to 400, but i dont really understand the code, just messing around. I will post later if i could make it work properly

Report

matter28

4 months ago

I'm using the latest version of youtube.lua and the 149909-playlist_youtube.lua
Everything seems to work fine but as it seems only the first 200 videos of the playlist appear in vlc. Got any solution for that?

Report

btrcp

3 months ago

how did you get access to the 149909 file? when i visit the page it says i'm not authorized

Report

btrcp

3 months ago

found it, located under 'files' tab on this page

Report

SqueeglePoof

1 year ago

I really like this addon. But...

Why in God's name is it cutting videos short?! Many, many times I'm listening to a song and before the song ends, it skips to the next one. I would love a fix.

Report

PanosSonap

1 year ago

Steps to succesfuly play youtube playlists:
I did a fresh install of VLC and deleted every .luac that had youtube before it in the \playlist\ folder.
Download
https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
and
playlist_youtube.lua (from the download button). It will download with a prefix (149909-).
Just rename it and remove the prefix, and copy both files to
C:\Program Files (x86)\VideoLAN\VLC\lua\playlist

Report

mcq333

1 year ago

Works fine for me on VLC 2.2.2 64 bits don't needed to change the youtube.luac file(mentioned on the troubleshooting)

Report

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

1 year ago

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

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 80%
80.00 Likes
20 Dislikes
Details
version
updated Aug 22 2015
added Apr 04 2012
downloads
page views 69165