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 .6
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

C

exebetche

7 years ago

@you
I've updated my script, your playlist work fine with the current version which you have if you download it from here ("download" button).
You should ask the poster at ghacks.net to indicate this url (http://addons.videolan.org/content/show.php/+Youtube+video+and+playlist+importer?content=149909) instead of the direct link to a version of the script. That way everybody can acces the latest version.
As a matter of fact I'm working on improvements right now, so.

Thanks for making me listen Janis Joplin, it brings back a lot of good memory :)

Regards,

Report

buralex

7 years ago

@exebetche:
just updated to latest 2.0.4
Here is a sample playlist that does not work:
http://www.youtube.com/watch?v=-7JVxE2SYxo&list=PL38E9705F5F68D3D0&feature=plpp_play_all
It seems to just flash between the VLC icon and a thumbnail of the video (or at least that's what it looks like) while the title bar alternates between displaying a URL and a title of one of the items in the playlist.

.... later ... fails on WinXP SP-3 (as above) but works perfectly on Win-7 SP1.
Can you or anyone else duplicate this finding?
Maybe the lua script needs a tweak?

Comment copied from my comments on GHacks thread of 28-Nov-2012

Report

coolpoete

7 years ago

I'm not sure why I am having trouble with this, i tried following all directions. I'm on Win 7 64 Ultimate. When I look in the \program files\videolan\vlc\lua\playlist folder all the other files are .luac and per other posts here it says make sure it says .lua Also, when I save as from the browser it is saying its a txt document but all the other files are labled as "LUAC files". What I'm getting is that it will play the first video but not the entire playlist. Help please!

Report

buralex

7 years ago

sorry for duplicate post - I didn't think it had saved and can't see a way to delete the dup.

Report

tonysilva

7 years ago

Works great. Thanks.

Report

RocketMonkey

7 years ago

Working on Mountain Lion & VLC 2.0.4, but no dice. I paste in the playlist URL and the URL itself shows in the playlist window, but nothing's imported and clicking on the URL does nothing.

It would be a great feature if I could get it to work ...

Report

RocketMonkey

7 years ago

Oh -- and I don't have any problems with the file extension.

Report

C

exebetche

7 years ago

I need more info, can you give me:
- your playlist url (is it like this: http://www.youtube.com/playlist?list=XXX ?)
- the debug log:
click on menu View > Messages, set verbosity level = 2 then try to start your playlist again and watch for error message in the message box

Report

RocketMonkey

7 years ago

Here's the URL:
http://www.youtube.com/playlist?list=AL94UKMTqg-9DWLHaF8qMQm09jnT_35D6V

Here's the paste:
http://pastebin.com/HRiT1jkt

Report

C

exebetche

7 years ago

Yes those errors sould be fixed as well now.

Report

RocketMonkey

7 years ago

Works! Awesome! Thank you for your time and your support! Very well done.

Report

krisu

7 years ago

Well, I got problems with this plugin too, here's error messages: http://pastebin.com/DQRY94Ee

Report

reynolpe

7 years ago

I have the same issue as mentioned above. Here is the link I am using.

http://www.youtube.com/course?list=ECFE2CE09D83EE3E28&feature=plcp

Here is the error message I see in the Messages window.
cannot join multicast group: Can't assigned requested address
main debug: net: opening ff0D:2:7ffe datagram port 9875

Report

reynolpe

7 years ago

Ok it seems I have gotten this working. It's the link that I used the site calls it a playlist but apparently not the right format for this plug-in.

Report

C

exebetche

7 years ago

Well I think I manage to fix it anyway.
Good luck for your java study :)

Report

reynolpe

7 years ago

I have the same issue as mentioned above. Here is the link I am using.

http://www.youtube.com/course?list=ECFE2CE09D83EE3E28&feature=plcp

Here is the error message I see in the Messages window.
cannot join multicast group: Can't assigned requested address
main debug: net: opening ff0D:2:7ffe datagram port 9875

Report

allig8or

7 years ago

Works great for me no problems at all

Report

9

meow9th

7 years ago

Thanks for developing this. The add-on was easy to install and works great.

Report

C

exebetche

7 years ago

Thanks!
If you like it you can vote for it so others know that exist.

Report

ivalethia

8 years ago

I do exactly what you say, but doesn't work, shows the playlist in the list, but when I doubleclick the link don't do anything... Please help me, this is could be really a great addon for my PC and VLC. I'm working with Windows 7 and its a 64bits OS.

Report

allig8or

7 years ago

when your saving the file in windows it defaults to save as a .txt file you should select the
"all files" option in the dropdown, this will stop the file being saved as .lua.txt

Report

mphere

8 years ago

Double-check that the .lua file didn't get saved with a .txt tacked on.

This happened to me when I saved with Chrome on a Mac. I saw it and removed it in the save dialog but yet it still ended up with .txt at the end.

Anyway after removing it in "Get Info" all was well.

Report

ivalethia

8 years ago

Oh!! That's absolutely true, I overlooked the extension... Now works really well, THANKS!!!! ;D

Report

mphere

8 years ago

Double-check that the .lua file didn't get saved with a .txt tacked on.

This happened to me when I saved with Chrome on a Mac. I saw it and removed it in the save dialog but yet it still ended up with .txt at the end.

Anyway after removing it in "Get Info" all was well.

Report

chache

8 years ago

Playlist must be public for this to work as well.

Report

5 years ago

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

12345678910
11505
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
product-maker Base: 4 x 5.0 Ratings
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
29
mediaviews 24h 0
pageviews 24h 261
System Tags addon