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

bukijung

1 year ago

Don't Work!! Up Date Please..

Report

(L)Aloha

1 year ago

Upgrade the VLC defult plugin allows play again the playlists:
eg http://youtube.com/playlist?list=PL6dFtv5p3AFdo7Rf9wc30suXID3L5du8W
Restriction: the YouTube download only links of 100 videos first, so this plugin load only this first 100! (further development: it to handle this.)

+ more feature: you can use the autonextplay parameter in the video link for Play Next Video Automatically function (as neverending story! :)
eg http://youtu.be/KKLT_0qavoU?autonextplay
eg https://www.youtube.com/watch?v=KKLT_0qavoU&autonextplay

Download the
https://raw.githubusercontent.com/l-aloha/vlc_youtubeplaylist/master/youtube.lua
... and enjoy the silence!
(Tested with current latest 2.2.6 VLC release on Win 7 x64 and Windows XP x86.)

Report

blueicehaller

1 year ago

Hello,
for me it doesn't work. VLC 2.2.8 32 and 64 bit.
It shows me: http error: error: HTTP/1.1 403 Forbidden

Thank you in advance.

Report

blueicehaller

1 year ago

Do I need to compile the playlist.lua to playlist.luac first?
What is the usage of youtube_homepage.luac ?

Report

blueicehaller

1 year ago

https://github.com/videolan/vlc/blob/master/share/lua/intf/luac.lua#L14
usage =
[[
To compile a lua script to bytecode (luac) run:
vlc -I luaintf --lua-intf --lua-config 'luac={input="file.lua",output="file.luac"}'
Output will be similar to that of the luac command line tool provided with lua with the following arguments:
luac -o file.luac file.lua
]]

Report

cpu1100

1 year ago

Hey Blueice,

Were you able to fix the "HTTP/1.1 403 Forbidden" error using the updated plugin? or any other way? I am still getting the 403 error.

Report

LePrinceCeleste

1 year ago

Thank you very much (L)Aloha!
Your plugin works on my PC!

The BIG deception is that only first 100 videos links are downloaded... :((((((

I have a playlist with more than 200 videos...
So...have to wait further development...

Report

cpu1100

1 year ago

Unfortunately, this add-on stopped working (showing only one item).

As a workaround, you can do it manually:
1. Open your playlist page in Youtube. e.g. https://www.youtube.com/playlist?list=XXXX
2. Open the source code of page. If you dont know how, google "open source code of page in "
3. Select all texts (using Ctrl-A) and paste it to a text editor. Notepad ++ is a good option here: https://notepad-plus-plus.org
4. Find the line containing {"url":"/watch?v= text. If you dont know how, use the following guide: https://www.youtube.com/watch?v=g3sOIqs1Ifw
5. Replace {"url":"/watch with \nhttps://www.youtube.com/watch. If you dont know how, see: https://www.youtube.com/watch?v=LYzUDmBBIUY&t=108s. This step effectively makes a multiline text file. Each line contains a video URL in your playlist.
6. Now cleanup the file to have only one URL in each line and nothing else.
7. Final step is to add #EXTM3U in the first line of this file.
8. You are done. Just save the text file as My_Playlist.m3u and you can open it on VLC.

Note: Your final file should look like:
#EXTM3U
https://www.youtube.com/watch?v=XXXXX1
https://www.youtube.com/watch?v=XXXXX2
https://www.youtube.com/watch?v=XXXXX3

Enjoy!

Report

dalanglois

1 year ago

It only works for me with 64-bit version, and starts skipping videos as soon as random order is activated. What I'll try is let the entire playlist play in normal order, and activate random order when all files got loaded

Report

Andy2015

1 year ago

Excellent

Report

CJOR

1 year ago

It doesn't work in VLC 3.0.0.
VLC only adds the first video without the script. With the script the link is ignored and the videos are not added.
In VLC 3.0.0 the path /usr/lib/vlc/lua/playlist/ has changed, now it's /usr/share/vlc/lua/playlist/

Report

Udlan1988

1 year ago

Doesn't work with watch later playlist :(

Report

Yaromax

1 year ago

It worrks with VLC 64-bit, but not with 32-bit.

Report

Yaromax

1 year ago

I can get videos in playlist, but they just skip without playing. Windows 7 64bit, VLC 2.2.6 32 bit, youtube.luac deleted.

Report

gotekus

2 years ago

9 Excellent

Report

timfong1015

2 years ago

This breaks in the latest 64 bit OS X version of VLC.

Report

monckey100

2 years ago

Here's a fixed version of the plugin playlist, hopefully the author integrates it:
https://pastebin.com/PfW9ZUnZ

Report

tml3nr

1 year ago

Many thanks to monckey100. It's work fine on VLC 2.26 32bit!

Report

masaki

2 years ago

It gracefully works! Thanks!

Report

Musame

2 years ago

Works with the newest 64bit version of VLC.

Report

lrnz0

2 years ago

Thanks a lot!!!

Report

weazul

2 years ago

I'm having a bit of a problem, i put the link for a playlist with like 80 vids into VLC, but half of them will have an error that says "Your Input cant be opened." It will list all the videos in the VLC playlist and even display all the tumbnails, but half the videos wont play and get skipped over. I know the vids worked because when i tried to put the videos in separately they work perfectly

Report

AlvaroX

2 years ago

Works fine, here I give you 3 suggestions.

1.- For the YouTube videos and playlists; Let us choose the dimensions of the streaming video, like 144p. Because many of us still have slow connections around the world, or we don't want to slow our downloads or navigation.

2.- Let us choose ONLY AUDIO in case we hear music in youtube and load only the thumbnail instead of the video.

3.- Make it work with DailyMotion, Vimeo, TuTv, RuTube, and more video hosting or streaming.

Report

matter28

2 years ago

Click tools / options / all (at the bottom left) / Input/codecs
There you can set the preferred video resolution
I guess somehow you can set it to only audio there too

Report

AlvaroX

2 years ago

Thank you, you're so nice for the answer, it was useful. Good bye.

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 402
System Tags addon