Youtube playlist

VLC Playlist Parsers

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

23
Score 85.8%
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%VideoLANVLCluaplaylist
* Windows (current user): %APPDATA%vlcluaplaylist
* 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 FilesVideoLANVLCluaplaylistyoutube.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:

7 years ago

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

dev99

3 years 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

3 years 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

C

exebetche

3 years 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

cusius

2 years 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

mehdih

3 years 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

3 years 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

3 years 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

s1ckb0y

3 years ago

¬°Gracias che! :D

Report

mehdih

3 years ago

Thanks a lot man!
It worked.

Cheers

Report

ikuria

3 years 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

C

exebetche

3 years ago

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

Report

ikuria

3 years ago

when the file is active, you got no folders?

Report

dottelevision1

3 years ago

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

Thanks!

Report

IdolwSzutrab7

3 years ago

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

Report

IdolwSzutrab7

3 years ago

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

nestea1212

3 years ago

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

C

exebetche

3 years ago

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

Report

nestea1212

3 years ago

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

nestea1212

3 years ago

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

Constantly showing up in my error logs.

Report

mcq333

3 years ago

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

C

exebetche

3 years ago

Oh, actually there's a way to set an option named "preferred-resolution" that allow you to set the resolution you want without modifying the script.
You just start Vlc with the option, like that:
vlc.exe --preferred-resolution=360

Report

mcq333

3 years ago

I found this litlle thing, seems that theres is a way but I'm not sure how to made it works: https://smallhacks.wordpress.com/2015/03/23/how-to-listen-youtube-live-stream-using-vlc-or-other-players/

Also on Youtube-dl configuration(https://github.com/rg3/youtube-dl/blob/master/README.md#configuration) they say:

For example, with the following configration file youtube-dl will always extract the audio, not copy the mtime and use proxy:

--extract-audio
--no-mtime
--proxy 127.0.0.1:3128

But again, I don't have any ideo of how made it works.

Report

C

exebetche

3 years ago

This is if you want to download the file from Youtube on your computer then extract only the music to listen later. If you want to do that you don't need "youtube-dl", you can do it with Vlc only.

Report

mcq333

3 years ago

I'm a bit confused... then... How JDownloader works? https://i.imgur.com/Pj6dhus.jpg

Report

C

exebetche

3 years ago

I guess it download the stream and extract the audio on the fly. But it still use your bandwidth to download both stream.

Report

7 years ago

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

12345678910
147
product-maker ahmedpop910 Mar 16 2019 9 excellent
+
product-maker kameyo Jan 28 2019 9 excellent
+
product-maker undeadmockingbird Aug 18 2018 9 excellent
+
product-maker tml3nr Nov 05 2017 9 excellent
product-maker aliali2017 Sep 05 2017 9 excellent
product-maker gotekus Aug 11 2017 9 excellent
Excellent
product-maker latiosFR Jul 25 2017 9 excellent
product-maker LittleLizzy May 28 2017 9 excellent
product-maker ELKZ Apr 29 2017 9 excellent
product-maker DarkPhoenix1337 Apr 10 2017 9 excellent
product-maker Stretch Dec 27 2016 9 excellent
product-maker dwmed Dec 05 2016 9 excellent
product-maker BB20101997 Sep 24 2016 9 excellent
product-maker Ragiowan Nov 09 2015 9 excellent
product-maker mcq333 Sep 17 2015 9 excellent
product-maker 99lool May 31 2015 9 excellent
product-maker 9207771739 May 01 2015 9 excellent
product-maker DJXAKEP Apr 25 2015 9 excellent
product-maker ziki Apr 21 2015 9 excellent
product-maker dirtyharry85 Apr 09 2015 9 excellent
product-maker EscapeFromReality Mar 03 2015 9 excellent
product-maker tomaszek197871 Oct 29 2014 9 excellent
product-maker gogo57540 Sep 08 2014 9 excellent
product-maker Doyouknow Jul 31 2014 9 excellent
product-maker rezmen1777 Apr 24 2014 9 excellent
product-maker ktb007 Apr 21 2014 9 excellent
product-maker Attila13 Apr 16 2014 3 bad
product-maker pereov33 Jan 17 2014 9 excellent
product-maker csuno Nov 27 2013 9 excellent
product-maker DFPOWER46 Nov 18 2013 9 excellent
product-maker Snapafun Aug 29 2013 9 excellent
product-maker DevilinPixy Aug 24 2013 9 excellent
product-maker BurakPatat Aug 03 2013 9 excellent
product-maker GuixLe Jul 25 2013 9 excellent
product-maker legluondunet Jul 07 2013 9 excellent
product-maker cipricus May 17 2013 9 excellent
product-maker Argyle May 13 2013 9 excellent
product-maker ufoasd Apr 10 2013 9 excellent
product-maker ringen00 Apr 04 2013 9 excellent
product-maker zequi Feb 12 2013 9 excellent
product-maker HATRED Jan 09 2013 9 excellent
product-maker equiman Nov 30 2012 9 excellent
product-maker btocher Nov 27 2012 9 excellent
product-maker hernansilva Nov 26 2012 9 excellent
product-maker erosenninrho Nov 26 2012 9 excellent
product-maker sirhcits Nov 25 2012 9 excellent
product-maker meow9th Nov 19 2012 9 excellent
product-maker FracExebetche Apr 23 2012 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Sep 05 2017
added Apr 04 2012
downloads 24h
56
page views 24h 400
System Tags addon