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
Score 85.3%
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:

4 years ago

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

10

brsyv

22 days ago

10 10 the best

Report

thweiss

26 days 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 month ago

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

Report

10

wu-wei

1 month 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 month ago

10 10 the best

Report

1

quickfix41

1 month ago

1 doesn't work under linux after trying variations of all paths as well as the alleged fix

Report

9

hamza-mostakim

2 months ago

9 9 excellent

Report

9

hamza-mostakim

2 months ago

please bro tell me how I can play this playlist in the vlc ♥

https://www.youtube.com/playlist?list=PLhtniAKD4zahga29B-6XsxhZFucCccdgE

Report

9

hamza-mostakim

2 months ago

Ok Ok bro I play it Thank you ❤️

Report

thecrazymax

2 months ago

I merged it with my main youtube.lua file and made it take the current videoId into account (to start at the correct index in the playlist),
and now it works perfectly (Windows 10 64 bits VLC 3.0.8).
See my gist here: https://gist.github.com/TheCrazyMax/5fe04f4ca2e53ed36ac500bdfd90cce4

Report

rsod

1 month ago

sadly this script does not works either

Report

kuka

1 month ago

Work, but only grab the first Video... Can it grab the all list?

Report

kuka

1 month ago

Work and catch all list, but i need to delete the old playlist_youtube.lua and paste this new youtube.lua. Thanks, thats great.

Report

dokisame

2 months ago

Something else I wanna ask: Is there anyway for it to work for a playlist link like this?
https://www.youtube.com/playlist?list=UUoOjTxz-u5zU0W38zMkQIFw

It just shows blank screen for this type. The common type that start with playlist?list=PL can be played normally now. Thank you.

Report

thecrazymax

2 months ago

(I added a condition in the probe function)

Report

thecrazymax

2 months ago

With my version it does.
https://gist.github.com/TheCrazyMax/5fe04f4ca2e53ed36ac500bdfd90cce4

Report

seneral

3 months ago

Official version does not work with 200+ videos, so I fixed it (based of previous fixes posted here) and verified it works in VLC 3.0.4 with any playlist (tested 1000+). Special care had to be taken to avoid duplicates.
FYI a request with index x will return videos from index x-100 to x+99, but if index it out of range (over playlist length), it will return 0-199. So it starts of with x=100 to get 0-199, then x=200 to get 100-299, etc. To avoid missing the last (up to 100) elements you with taking 200-jumps. In turn I had to revisit the duplication detection to avoid those hundreds of duplicates.
https://gist.github.com/Seneral/bd64281ae30a6010e97d956ecd63238e

Report

dokisame

4 months ago

Strange things... Worked for VLC 3.04, but not 3.07 (used both the github patch and original file, always give blank screen). I'm on Ubuntu 18.04 64 bit

Report

hackpro

4 months ago

Add at the end of line 44 the following validation

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

Report

mantra

2 months ago

does not work for me

Report

mantra

2 months ago

sorry my mistake, that fixed it!

Report

markostamcar

4 months ago

Thanks, that fixed it!

Report

9

ahmedpop910

7 months ago

9 +

Report

4nrg0t

9 months ago

Some youtube streams won't load, e.g.: https://youtu.be/lrX6ktLg8WQ
Hopefully the author reads this and will fix that. Thank you.

Report

eaeman

9 months ago

This version of the file worked for me.
https://gist.github.com/seraku24/db42e0e418b2252f2136d2d7f1656be5
Download and keep only this one.

Report

4 years ago

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

12345678910
11483
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
product-maker Base: 4 x 5.0 Ratings
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 ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
updated Sep 05 2017
added Apr 04 2012
downloads 24h
49
pageviews 24h 290
System Tags addon