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

5 years ago

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

9

99lool

5 years ago

Hey, thanks so much exebetche! Hope they fix this issue soon.

Report

C

exebetche

5 years ago

Just a ping, since the quick fix I posted may interest you.

Report

9

99lool

5 years ago

TY so much exebetche!!

Report

9

99lool

5 years ago

Hmm i put my playlist in but it dosnt seem to be working similar to last problem but with shuffle off it wont load video and keeps adding a copy of the video it tried to play to the playlist

Report

9

99lool

5 years ago

NVM< changed some files and some settings seems to work now? TY so much.

Report

irish66

5 years ago

Thank you.
although what would be nice would be something like a youtube search option within vlc

Report

Zelioom

5 years ago

Shuffle doesnt work properly, when shuffle is on, and I hit next, it just shuffles through all of the songs endlessly as if I keep hitting next.

Report

C

exebetche

5 years ago

Just a ping, since the quick fix I posted may interest you.

Report

borek123

5 years ago

Hello,
Can you send me the script too ?
I have problem to shuffle my playlist from YT
My email: XXXXXX
BTW. I have good speed, and stable internet connection but randomly my VLC YT hang. Any clue how to resolve this ?
Thank you in advance :)

Report

netquik

6 years ago

Hi all
I' didn't understand much of the code but i noticed (could be just cases) that some playlist didn't get parsed correctly or such according on if i load playlist url or first video playlist url... bye

Report

lotroj

6 years ago

Hi,
i have problem with playlist which i cannot solve. Here is log http://pastebin.com/gwQ0GkB9

Thank for help

Report

lotroj

6 years ago

single videos works fine

Report

C

exebetche

6 years ago

For me it's the opposite, the playlist is retrieved properly but single video won't work so as far as I'm concerned the problem come from the "youtube" script of vlc. (tested with Vlc 2.2 RC)

Report

lotroj

6 years ago

I try write all steps i do ...

I have vlc 2.1.5 (newest)
All steps are in C:\Program Files (x86)\VideoLAN\VLC\lua\playlist

1) Delete youtube.luac

2) Create new youtube.lua source is here http://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua

3) create playlist_youtube.lua source is here http://addons.videolan.org/CONTENT/content-files/149909-playlist_youtube.lua

Report

lotroj

6 years ago

ok, i am just an idiot pls delete this, thank

Report

saiyaku

6 years ago

Hey guys i just found a fix for those that both updated the youtube.luac to the fixed youtube.lua and added this and urls are still not working - when you save the files, don't save them in UNICODE, even though the youtube.lua script requires you to "save information properly", just save them in default ANSII coding and it works!

Report

saiyaku

6 years ago

Hey guys i just found a fix for those that both updated the youtube.luac to the fixed youtube.lua and added this and urls are still not working - when you save the files, don't save them in UNICODE, even though the youtube.lua script requires you to "save information properly", just save them in default ANSII coding and it works!

Report

Vintilamiki

6 years ago

Hello, so here we go.
I used version 2.1.3 until now, when I dragged by mistake a link from youtube to vlc. And it oppened it. No stucks. Then I searched on google if I can play a playlist on VLC and i found this. I downloaded the youtube_playlist.lua file. I put it where it was supposed to be. And then i copied the playlist link and opened it with Ctrl+N, but only the first song worked. No playlist :(. I downloaded the youtube.lua and i replaced the .luac installed. Opened the VLC, copied the link but it wouldn't work. It was starting and stopping in a loop. So I updated vlc, same thing. I tried version 3.0.0 from the git site or whatever. It was playing just the first song, and that one was stopping from 2 to 2 seconds. Can I do something to fix this?

Report

C

exebetche

6 years ago

It seems youtube_playlist.lua, then youtube.lua are not found by Vlc, so:
- check the path, maybe try to switch all users/current user directory
- check the extension is ".lua" and your browser didn't add a ".txt" at the end

You could pastebin your full debug log, maybe there's an error:
https://github.com/exebetche/vlsub/wiki/Troubleshooting#if-the-extension-doesnt-appear-in-the-vlc-menu

Report

aispade

6 years ago

Thanks for the script, I really like it.
But I found some songs in the playlist can't play.
These songs can play at browser and not private video.
I have upload the debug log, URL: http://pastebin.com/C3SMe1YL
I test three songs, the first and third can play successfully, but the second (Shakira) failed.
Please help :)
Thank you

Report

mederi

6 years ago

The "youtube.lua" playlist script has been updated recently:
http://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD
Download it and replace the outdated "lua\playlist\youtube.luac" in your VLC folder or download and install actual nightly version of VLC.

Report

C

exebetche

6 years ago

Thank you mederi for pointing out the script was updated, I modified the link in the description.

Report

aispade

6 years ago

Yes! I use 2.1.5 and replace youtube.lua(delete youtube.luac), all links is okay, thanks!

Report

C

exebetche

6 years ago

I know, it looks like they change something on youtube and some video doesn't work, but the problem come from a script include in Vlc, not this one, so you should report the problem to them.

Cheers,

Report

aispade

6 years ago

I am using 2.1.3 portable version

Report

5 years ago

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

12345678910
31516
product-maker brunzaid Apr 03 2021 9 excellent
9 excellent
product-maker rangelweb1 Feb 09 2021 10 the best
Function to tune Digital TV with capture card
product-maker gordoni Dec 03 2020 1 ugh
The dozens solutions point to this and another source of this exact script. Neither works on 64-bit version of VLC
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
39
mediaviews 24h 0
pageviews 24h 371
System Tags addon