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

1 year ago

EdHunterMH

The last youtube.lua repair this, thx.

Report

1 year ago

hsw98

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

1 year ago

instructor

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

1 year ago

instructor

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

Report

1 year ago

dev99

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

1 year ago

mehdih

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

1 year ago

exebetche

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

1 year ago

mehdih

Thanks a lot man!
It worked.

Cheers

Report

1 year ago

s1ckb0y

¬°Gracias che! :D

Report

1 year ago

mehdih

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

1 year ago

mehdih

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

1 year ago

iamjonny

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

1 month ago

cusius

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

1 year ago

ikuria

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

1 year ago

exebetche

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

Report

1 year ago

ikuria

when the file is active, you got no folders?

Report

1 year ago

dottelevision1

Is there a way to only add videos from a playlist that are shorter than 1 minute (or any length of time?)

Thanks!

Report

1 year ago

IdolwSzutrab7

This load only 200 videos from list. Now in youtube we can create more than 200 list!

Report

1 year ago

IdolwSzutrab7

My good! The best addon ever! Works! :) Also works with links like this https://www.youtube.com/watch?v=______&list=PL_________ so it is great! :)

Report

1 year ago

nestea1212

My playlists were working fine a few days ago. Has something changed on youtube's end that needs to be addressed in a new lua? I'm currently getting

"VLC is unable to open the MRL" errors while it cycles through all my songs and fails to play the videos.

Report

1 year ago

nestea1212

http error: error: HTTP/1.1 403 Forbidden
http error: error: HTTP/1.1 403 Forbidden

Constantly showing up in my error logs.

Report

1 year ago

exebetche

Check the playlist on your browser maybe some videos have been removed or something.

Report

1 year ago

nestea1212

I've done a bit of troubleshooting. It seems when I load my old playlists from a VLC Playlist file I get the MRL errors. "VLC is unable to open the MRL..." as it cycles through the songs spitting the same error out. When I manually re-enter the playlist off youtube into VLC, it loads all the songs fine.

One way I have been able to replicate the MRL errors is to put the newly entered playlist on random. Once it's on random and a song ends, it just starts cycling through and spitting out those errors again.

Regardless, thanks for your work. I guess I'll just manually put in my youtube playlists whenever I launch VLC for the time being. :)

Report

1 year ago

mcq333

Hi, how can I play just the music? I mean, first of all the video always plays in the highest resolution(I think) and my internet connection is not too fast so... I would like to play the videos just in 360p or 480p, also, in my case, what I want the most is to play just the audio, I mean, don't download de video file, just the audio file(this also because internet speed is too slow) for music playslist(What is important is just the music, right?).

Report

1 year ago

exebetche

On Youtube, music and video are on the same data stream, so there is no way to download only the music to spare your bandwidth. I would be possible to get a lower resolution but this script just take care of the playlist part (gettin the items of the playlist), not getting the data stream.
You need to change something in the script named "youtube.lua" which is included in Vlc, but I'm not sure what.

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 52600
support exebetche
For The Product
Youtube playlist
5 - 10 - 25 - 50 - 100 - 200 - 500