Youtube playlist
VLC Playlist Parsers
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%\VideoLAN\VLC\lua\playlist\
* Windows (current user): %APPDATA%\vlc\lua\playlist\
* 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 Files\VideoLAN\VLC\lua\playlist\youtube.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:

1 year ago

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

gelf

4 years ago

Hi there new here, was trying to download this file but when I clicked download it goes to the download page for a fraction of a second then goes to a page full of text about the file. Am I not doing something right? i have tried in 2 different browsers with the same result. thank you

Report

aldobelusopen

4 years ago

You have to select all the text, paste it into a text editor and save it to the route suggested in VLC page, depending on the operating system you have. Good luck

Report

gelf

4 years ago

Thank you for the help. Still having teething issues but will play around

Report

cipricus

4 years ago

in Firefox (e.g.) "File/Save page as..."

Report

dias75

4 years ago

It does not work with all versions of the player?

Report

exebetche

4 years ago

Nope, since the last update you have to get a recent version of vlc.

Report

dias75

4 years ago

What should be the version?
2.0.5 from VLC Daily Build of stable branch
https://launchpad.net/~videolan/+archive/stable-daily?field.series_filter=precise

or 2.1.0 from VLC Daily Build of master branch
https://launchpad.net/~videolan/+archive/master-daily?field.series_filter=quantal

Report

exebetche

4 years ago

I'm on 2.0.5, I dunno if it works or not on dev branch

Report

exebetche

4 years ago

Why don't you take the current vesrion from the main site?
http://www.videolan.org/

Report

ringen00

4 years ago

ahh - great it works again thanks!!

Report

ringen00

4 years ago

the start pictures are running through!
not one video is played!

Report

imusgr

4 years ago

that's right does not work anymore.
Hope some one will fix it soon.

best Regards

Report

Silberling

4 years ago

Hi.

This script above overrides the default vlc youtube "single-video" script. This is the reason why the video resolution is so low.
I dropped all of the code except that is neccessary for the list parsing.

Now you can import lists and the best possible video resolution is picked by the default youtube handler.

http://pastebin.com/XC7wdCfr

Hope this helps somebody

Kai

Report

gomozan

4 years ago

You're awesome!
Thank You

Report

kishoreiit49

4 years ago


Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

thinking-aloud

4 years ago

hello,
I encountered a few problems and like to share how I fixed them with the 5 point debuging info on page 2 by exebetche. I am using Fedora 17 Linux x64 and VLC 2.0.5
I got an error that the "function descriptor()" is missing, so I opened the .lua file and inserted it below the initial comment:

function descriptor()
return {
title = "Youtube playlist importer";
version = "1.0";
author = "exebetche";
url = 'http://addons.videolan.org/content/show.php?content=149909';
description = "This VLC extension lets you import playlists from YouTube.";
capabilities = {"input-listener"} }
end

Here is a direct download with my version of the file: http://www.share-online.biz/dl/WD83LZFMP9A6


I also put the file in the "/lua/extensions/" folder and not the "/lua/playlist" folder.

Ps. I hope this helps


Greetings Lennart

Report

thinking-aloud

4 years ago

lua warning: Error while running script /usr/share/vlc/lua/extensions/playlist_youtube.lua, function activate() not found

grr, this is still not working, but I don't have time now.

Report

kishoreiit49

4 years ago

Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

kishoreiit49

4 years ago

Hi every one..I tried to open a URL in VLC. But I am getting the error that "Your input can't be opened:
VLC is unable to open the MRL 'http://www.youtube.com/watch?feature=player_detailpage&v=N7_EkrPJzqs'. Check the log for details. I tried to allow VLC through fire wall as well. Can any body help me out of this????????

Report

kerkain

4 years ago

I can get it to play the playlist all the way through but it doesn't play it in the best selected quality. It seems to default all the way into 240 or 360p instead of 720 even though its available.

I've put the .lua file into the %appdata% folder and even tried putting it in the program files x86 vlc lua playlists folder with a .luac extension and still gives me the poor quality.

If I remove the .lua completely then VLC will play in 720p without a hitch.

Is there a fix for this or something else I can try?

Report

Horizon

4 years ago

I face the same problem although the locked resolution is 480. is there a workaround or updated script?
WIth my native display at 1440x900 anything below 720 looks like Minecraft.


Running VLC 2.0.5 on a Macbook pro.

Report

Horizon

4 years ago

A workaround for full resolution. Disable playlist addon (just add .dead after .lua) Extract urls from youtube playlist by using an extension/plugin of your choice (I used link clump for chrome and set to copy urls to clipboard) open text document, write #EXTM3U on the first row and then enter and paste the video urls, save as M3U. Now you have a complete playlist that will play in highest resolution, although you have completely circumvented this lua-script.

Sorry but this is the only thing I have found that works until this script is updated.

Report

panosmdma

4 years ago

I just register here to thank you!!!
(System Fedora 17 x64)

Report

aravindiitr

4 years ago

saving this file as "all files" didn't work. You can download the proper .lua file from this link here :

http://knolzone.com/how-to-play-an-entire-youtube-playlist-in-your-vlc-player/

enjoy!!

Report

coolpoete

4 years ago

Thank you, but using a download manager helped me to save the file correctly.

Report

1 year ago

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

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 80%
80.00 Likes
20 Dislikes
Details
version
updated Aug 22 2015
added Apr 04 2012
downloads
page views 69165