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

26
8 .5
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:

5 years ago

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

adens

5 days ago

try this with 3.x version. worked on 3.0.11

https://gist.github.com/seraku24/db42e0e418b2252f2136d2d7f1656be5

Report

1

titoir98

15 days ago

1 don't work tested 3 differents lua and just 90% of my playlist is skiped and i don't know why

Report

jierr

2 months ago

2020-09-28 Fixed version *with* playlist parsing can be found here: https://pastebin.com/4GEMSy9w

Copy it here: C:\Users\\AppData\Roaming\vlc\lua\playlist

It is derived from the original file on github videolan/vlc.
https://github.com/videolan/vlc/blob/737a4bf18c771bc4f9d5b6ecd8bbcdbd035de07f/share/lua/playlist/youtube.lua

Report

9

seokjin

2 months ago

9 It worked! Thank you very much.

Report

9

kokokoshka

7 months ago

9 9 excellent

Report

9

kokokoshka

7 months ago

For me, it works only with a single video and completely doesn't want to work with playlists. I have tried /playlist URLs, /watch URLs with list parameter but no luck. What I'm doing wrong?
And another question: Is it should support 1080p videos or do you have a plan to bring it? Because I can play only 720p videos.

Report

eduardo-disorento

7 months ago

Here's a CLEAR explanation of how it worked for me on Mac OS High Sierra :

1) Go in the Application folder.

2) Right click on the VLC app and select « Show Package Contents ».

3) Go to Contents > MacOS > share > lua > playlist.

3) For security, copy the file « youtube.luac » and paste it in a backup folder on your desktop.

4) Delete the original file « youtube.luac » located in the « playlist » folder (path in step 1-2-3).

5) Download and place the file « youtube.lua » in the « playlist » folder by entering the following link in your search bar and pressing « cmd + s » once you see the long text : https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua

5.5) Make sure that it’s saved as « youtube.lua « and not « youtube.lua.txt ».

6) Download and place the file « 149909-playlist_youtube-vlc3patch.lua » in the « playlist » folder by clicking on « Download ZIP » here : https://gist.github.com/seraku24/db42e0e418b2252f2136d2d7f1656be5

7) Open VLC.

8) Go to File > Open File (or press « cmd + O »).

9) Paste the link of a YouTube Playlist that is either « Public » or « Unlisted » (Private doesn’t work).

10) Press the key « Enter » or « Return » (or click on « Open »).

Now everything should work properly with the following limits :

- A maximum of 200 videos can be loaded.
- Random playback skip a lot of videos without playing them at all.

If nothing works at all, quit VLC, delete the new files you added and put back the « youtube.luac » file in the playlist folder.

Since the Shuffle option of Youtube is broken, I wanted to use the Random Playback of VLC. But unfortunately, as I mentioned it before, this solution isn’t working.

Damn.

All the efforts just to face another wall…
I hope someone find a workaround…

Report

eduardo-disorento

7 months ago

The second step 3 should be step 3.5, sorry.

Report

eduardo-disorento

7 months ago

And I forgot to say I use the version 3.0.8 of VLC haha

Report

shortwavecereal

8 months ago

After redownloading and using the new script all it does is either leave it blank or have the videos play one by one without actually playing anything. As in itll show the title for a fraction of a second and then move on and it goes on until the playlist ends.

Report

albert66

10 months ago

10 youtube.lua runs immediately. Also i had to create: Windows (current user): %APPDATA%vlc\lua\playlist (nothiing there after some ugrades) and add it there.

Report

10

plgx

10 months ago

10 10 the best
It actually works! It took a good half a minute, but I'm glad it does work!

Report

asafe

10 months ago

I had to add the code
and string.match(vlc.path, "action_get_list") == nil
to the end of the file 149909-playlist_youtube.lua and it worked.

Report

10

znep666

10 months ago

10 10 the best

Report

10

znep666

10 months ago

Hello,

Worked perfectly for some time but since a few weeks the addon skips items in a playlist. Example: https://www.youtube.com/playlist?list=PLWlTX25IDqIzOkUyiEAIaN67YrKi5yEIN. The first three songs briefly show with their picture in the media information part of the playlist GUI but VLC immediately jumps to the next one and then starts playing the fourth. Same happens for most of the playlists which were working 100% OK a few weeks back.

My version is the addon + fix from hackpro.

Can someone please confirm and have a look whats causing this? Many Thanks!

Report

10

znep666

10 months ago

Ok found it - requires the very latest youtube.lua listed above under "Troubleshooting". Now everything works again!

Report

vedarn

11 months ago

I think there is some issue either with the parser or VLC itself. It is related with videos which have underscore in their ID, the cannot be played with VLC using this extension. This one for example - https://www.youtube.com/watch?v=BQPj4_YNKCg

Report

vishvas

11 months ago

Created a MOD for general convenience - https://addons.videolan.org/p/1344170/

Report

vishvas

11 months ago

The addon with the fix by hackpro (comment below) - https://raw.githubusercontent.com/vvasuki/vlc-addons/master/lua-addons/playlist_youtube.luac . Can EXEBETCHE update this please and link to github?

Report

pqekypk2

1 year ago

Hello, i do all the steps but still not working
VLC for windows 1.0.8
64 bits

Report

10

brsyv

1 year ago

10 10 the best

Report

thweiss

1 year ago

The Addon "Youtube Playlist" works with "Hackpro" Code-Correction in line 44, downstairs in the older Comments.
Successful Tests with the following Examples:
- Windows 10: VLC-Player Version 3.0.8 (64-Bit), no success with 3.0.7.1 (3-/64-Bit)
- Windows 7: VLC-Player Version 3.0.7.1 (32-Bit)

Report

rsod

1 year ago

The only one problem with this plugin: it does not works

Report

10

wu-wei

1 year ago

10 10 the best In VLC 3.0.7.1 I have to use the fix of hackpro and to add at the end of line 44 the following validation

and string.match(vlc.path, "action_get_list") == nil

Report

10

japaalnev

1 year ago

10 10 the best

Report

5 years ago

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

12345678910
21505
product-maker titoir98 Nov 13 2020 1 ugh
don't work tested 3 differents lua and just 90% of my playlist is skiped and i don't know why
product-maker seokjin Sep 08 2020 9 excellent
It worked! Thank you very much.
product-maker kokokoshka Apr 25 2020 9 excellent
9 excellent
product-maker plgx Jan 21 2020 10 the best
10 the best It actually works! It took a good half a minute, but I'm glad it does work!
product-maker znep666 Jan 16 2020 10 the best
10 the best
product-maker brsyv Oct 22 2019 10 the best
10 the best
product-maker wu-wei Oct 09 2019 10 the best
10 the best In VLC 3.0.7.1 I have to use the fix of hackpro and to add at the end of line 44 the following validation and string.match(vlc.path, "action_get_list") == nil
product-maker japaalnev Sep 28 2019 10 the best
10 the best
product-maker quickfix41 Sep 22 2019 1 ugh
doesn't work under linux after trying variations of all paths as well as the alleged fix
product-maker hamza-mostakim Sep 10 2019 9 excellent
9 excellent
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
Be the first to comment
hamza-mostakim
Sep 10 2019
hpapa
Sep 06 2019
joaorenno
Sep 03 2019
kurohai
Apr 22 2019
kameyo
Jan 28 2019
xyz555
Oct 10 2018
dokuganryu
Oct 07 2018
CJOR
Aug 29 2018
arnoldwaswaiga
May 19 2018
sesiu
Feb 28 2018
mehdih
Nov 12 2015
s1ckb0y
Oct 21 2015
Doyouknow
Jul 31 2014
Argyle
May 13 2013
ringen00
Mar 28 2013
gericom
Jan 09 2013
HATRED
Jan 09 2013
gomozan
Dec 17 2012
gb4lamc
Dec 03 2012
equiman
Nov 30 2012
tonysilva
Nov 27 2012
btocher
Nov 27 2012
sirhcits
Nov 25 2012
allig8or
Nov 22 2012
meow9th
Nov 19 2012
FracExebetche
Apr 23 2012
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Sep 05 2017
added Apr 04 2012
downloads 24h
30
mediaviews 24h 0
pageviews 24h 392
System Tags addon