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:

4 years ago

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

9

tml3nr

2 years ago

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

Report

masaki

3 years ago

It gracefully works! Thanks!

Report

Musame

3 years ago

Works with the newest 64bit version of VLC.

Report

lrnz0

3 years ago

Thanks a lot!!!

Report

weazul

3 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

3 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

3 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

3 years ago

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

Report

cusius

3 years ago

Can somebody to help fix the song skipping?
I tried to search for an answer in the comments but all it said was update the script "youtube.lua"
and I did it but it didn't do nothing. Still skipping. Is it okay that I have both files "youtube.lua" and "playlist_youtube.lua" in the folder?

Report

matter28

3 years ago

I'm pretty sure about this but still I might be wrong.
I noticed that the skipping happens when connection issues happen. If i disconnect from the internet just for a second the download stops and the video plays only till it gets to end of the downloaded part. So basically if the downloading of the video stops it can't be resumed.

Report

cusius

3 years ago

okay. That could make sense. Today I was testing this at my work for the first time and there many people have one internet speed. Maybe that's why. Now I'll test at home (here I have better connection)
Thank you so much for the very fast reply!

Report

matter28

3 years ago

You're welcome, but never mind what i said. It may be true but even with a stable connection it seems to skip the end of a few videos. Maybe there's something about their length

Report

arsa37

3 years ago

Is this still being looked on ? would appreciate if the playlist wasn't limited to 200

Report

matter28

3 years ago

i figured out how to increase it to 400, but i dont really understand the code, just messing around. I will post later if i could make it work properly

Report

matter28

3 years ago

I'm using the latest version of youtube.lua and the 149909-playlist_youtube.lua
Everything seems to work fine but as it seems only the first 200 videos of the playlist appear in vlc. Got any solution for that?

Report

btrcp

3 years ago

found it, located under 'files' tab on this page

Report

btrcp

3 years ago

how did you get access to the 149909 file? when i visit the page it says i'm not authorized

Report

SqueeglePoof

4 years ago

I really like this addon. But...

Why in God's name is it cutting videos short?! Many, many times I'm listening to a song and before the song ends, it skips to the next one. I would love a fix.

Report

PanosSonap

4 years ago

Steps to succesfuly play youtube playlists:
I did a fresh install of VLC and deleted every .luac that had youtube before it in the \playlist\ folder.
Download
https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
and
playlist_youtube.lua (from the download button). It will download with a prefix (149909-).
Just rename it and remove the prefix, and copy both files to
C:\Program Files (x86)\VideoLAN\VLC\lua\playlist

Report

9

mcq333

4 years ago

Works fine for me on VLC 2.2.2 64 bits don't needed to change the youtube.luac file(mentioned on the troubleshooting)

Report

EdHunterMH

4 years ago

For example, this video: https://www.youtube.com/watch?v=nM__lPTWThU

The log (just it stops):

core debug: Buffering 99%
core debug: Stream buffering done (59224 ms in 4662 ms)
core debug: Decoder wait done in 0 ms
pulse debug: cannot synchronize start
pulse debug: deferring start (10959 us)
pulse warning: starting late (-3273 us)
pulse debug: started
pulse debug: underflow
pulse debug: underflow
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.hdmi-stereo (Audio Interno Digital Stereo (HDMI))
core debug: VoutDisplayEvent 'resize' 480x360 window
xcb_window debug: key: 0x00000066 (X11: 0x0066)
qt4 debug: Qt: Fullscreen state changed
qt4 debug: Qt: Entering Fullscreen
core debug: VoutDisplayEvent 'resize' 1920x1080 window
core debug: VoutDisplayEvent 'resize' 1920x1080 window
core debug: auto hiding mouse cursor
gnutls error: Decryption has failed.
core error: read error: Connection reset by peer
mkv warning: MKV/Ebml Parser: m_el[mi_level] == NULL
mkv warning: MKV/Ebml Parser: Up cannot escape itself
mkv warning: EOF
mkv warning: cannot get block EOF?
core debug: EOF reached
core debug: waiting decoder fifos to empty
[...]
core debug: waiting decoder fifos to empty
pulse debug: underflow
core debug: finished input
core debug: object waitpipe triggered
core debug: removing module "avcodec"
core warning: can't get output picture
avcodec debug: ffmpeg codec (Google/On2's VP8 Video) stopped
core debug: killing decoder fourcc `VP80', 0 PES in FIFO
core debug: saving a free vout
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.hdmi-stereo (Audio Interno Digital Stereo (HDMI))
core debug: reusing provided vout
qt4 debug: Qt: Fullscreen state changed
core debug: removing module "vorbis"
core debug: killing decoder fourcc `vorb', 0 PES in FIFO
core debug: removing module "samplerate"
core debug: removing module "scaletempo"
core debug: removing module "float_mixer"
core debug: keeping audio output
core debug: removing module "mkv"
core debug: Program doesn't contain anymore ES
mkv debug: Stopping the UI Hook
core debug: removing module "record"
core debug: removing module "http"
core debug: dead input
core debug: changing item without a request (current 0/1)
core debug: nothing to play
core debug: destroying useless vout
core debug: removing module "xcb_glx"
core debug: removing module "glx"
qt4 debug: IM: Deleting the input
qt4 debug: Qt: Quitting Fullscreen
dbus_screensaver debug: got cookie 12513
core debug: removing module "dbus_screensaver"
core debug: removing module "freetype"
core debug: removing module "yuvp"
core debug: removing module "swscale"
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.hdmi-stereo (Audio Interno Digital Stereo (HDMI))
dbus debug: Getting property CanControl
dbus debug: Getting property PlaybackStatus
dbus debug: Getting property PlaybackStatus

Other videos, as www.youtube.com/watch?v=Kvqr366Op3k plays OK.

In the browser all plays ok.

I have the last youtube.lua and playlist_youtube.lua in my systems.

Report

9

mcq333

4 years ago

I saw your video, It works fine with me, Try installing the last version of VLC.

Report

xrosax

4 years ago

I was wondering if there is a way to have 1080p or 4k video quality on the playlist video quality?.

Report

9

mcq333

4 years ago

I wrote this on page 11 but I think it should work:

1.Create another direct acces to VLC and change the name to "VLC YT" or something.
2. Right click on your new direct acces and click on preperties.
3. Go to the direct acces section, and find de Destiny text box.
4. The destiny should be these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
You habe to add: --preferred-resolution=240
And now it should look like these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=240

But in your case, you should put 1080 on preferred resolution: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=1080

Hope it helps.

Report

xrosax

4 years ago

Whats a direct access , I don't see that option in any of the obvious win32 menu items in VLC?

Report

4 years ago

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

12345678910
11495
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
44
mediaviews 24h 0
pageviews 24h 430
System Tags addon