Youtube playlist

VLC Playlist Parsers

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

27
Become a Fan
8.2

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:

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


Ratings & Comments

359 Comments

ad08s-1b

1 1 ugh, buffering, lag, not working for playlist

brunzaid

9 9 excellent

rangelweb1

10 Function to tune Digital TV with capture card

gsmith1027

Found any alternatives?

rangelweb1

YouTube playlist plugin does not work

rangelweb1

YouTube playlist plugin does not work

rangelweb1

YouTube playlist plugin does not work

rangelweb1

It's a great player, but it doesn't have support for playing / tuning digital TV or a YouTube playlist

gordoni

1 The dozens solutions point to this and another source of this exact script. Neither works on 64-bit version of VLC

adens

try this with 3.x version. worked on 3.0.11 https://gist.github.com/seraku24/db42e0e418b2252f2136d2d7f1656be5

titoir98

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

jierr

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

seokjin

9 It worked! Thank you very much.

kokokoshka

9 9 excellent

kokokoshka

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.

eduardo-disorento

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…

eduardo-disorento

The second step 3 should be step 3.5, sorry.

eduardo-disorento

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

shortwavecereal

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.

albert66

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.

plgx

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

asafe

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.

znep666

10 10 the best

znep666

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!

znep666

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

Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 4
mediaviews 24h 0
pageviews 24h 49

Other VLC Playlist Parsers:

Various audio streaming service plugins
MarcusD
last update date: 4 years ago

Score 4.8

#EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,B
akrep820
last update date: 9 years ago

Score 5.3

EBU subtitles parser
ale5000
last update date: 14 years ago

Score 5.0

URL files parser
ale5000
last update date: 14 years ago

Score 5.0

Rai parser
ale5000
last update date: 14 years ago

Score 5.0

Megavideo
ale5000
last update date: 14 years ago

Score 6.1



System Tags