Warning: session_start(): open(/tmp/sess_krmuaeo5ehm22shn1nklfdn0l0, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Youtube playlist openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (21) .- Knowledge Base  . 

Youtube playlist

  

VLC Playlist Parser

Score 83%
 Youtube playlist
zoom


Downloads:  320964
Submitted:  Apr 4 2012
Updated:  Aug 22 2015

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.




Changelog:

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




LicenseGPL
(playlist_youtube.lua)
Donate
Send to a friend
Subscribe
Other  Content  from exebetche
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12 ...

-

 Not working....

 
 by ravnik on: May 25 2013
 
Score 50%

hi, i'm trying to put a youtube-playlist into vlc.

everything is fine until i click play.

it only switches the pics and nothing else is happening.


Reply to this

-

 Re: Not working....

 
 by exebetche on: May 28 2013
 
Score 50%

It still works fine for me. Check you have a recent version of Vlc, if not get the last release from https://www.videolan.org. If that still don't work post the URL you paste in Vlc here.


Reply to this

-
.

 Does not work

 
 by legluondunet on: Jul 7 2013
 
Score 50%

Does not work for me on Ubuntu 13.04 and VLC 2.0.6 Twoflower.


Reply to this

-

 Re: Does not work

 
 by exebetche on: Jul 13 2013
 
Score 50%

Could you be more specific? Or better give me the debug log: (use ctrl + M and set verbosity level to 2 before you launch the playlist).
Please and thank you.


Reply to this

-

 Re: Does not work

 
 by bergschreck on: Aug 25 2013
 
Score 50%

Also does not work for me on Debian Wheezy and VLC 2.0.3. This is the debug log:

main debug: adding item `http://www.youtube.com/watch?v=fhGF1PWJc0I' ( http://www.youtube.com/watch?v=fhGF1PWJc0I )
qt4 debug: Adding a new MRL to recent ones: http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: rebuilding array of current - root Wiedergabeliste
main debug: rebuild done - 1 items, index -1
main debug: processing request item: http://www.youtube.com/watch?v=fhGF1PWJc0I, node: null, skip: 0
main debug: resyncing on http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: http://www.youtube.com/watch?v=fhGF1PWJc0I is at 0
main debug: starting playback of the new playlist item
main debug: resyncing on http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: http://www.youtube.com/watch?v=fhGF1PWJc0I is at 0
main debug: creating new input thread
main debug: meta ok for (null), need to fetch art
main debug: Creating an input for 'http://www.youtube.com/watch?v=fhGF1PWJc0I'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: `http://www.youtube.com/watch?v=fhGF1PWJc0I' gives access `http' demux `' path `www.youtube.com/watch?v=fhGF1PWJc0I'
main debug: creating demux: access='http' demux='' location='www.youtube.com/watch?v=fhGF1PWJc0I' file='(null)'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 0.196 ms - Total 0.196 ms / 1 intvls (Avg 0.196 ms)
main debug: creating access 'http' location='www.youtube.com/watch?v=fhGF1PWJc0I', path='(null)'
main debug: looking for access module: 2 candidates
main debug: looking for meta fetcher module: 1 candidate
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
main debug: using meta fetcher module "lua"
main debug: TIMER module_need() : 0.692 ms - Total 0.692 ms / 1 intvls (Avg 0.692 ms)
main debug: removing module "lua"
main debug: searching art for http://www.youtube.com/watch?v=fhGF1PWJc0I
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder module matching "any" could be loaded
main debug: TIMER module_need() : 1.225 ms - Total 1.225 ms / 1 intvls (Avg 1.225 ms)
main debug: art not found for http://www.youtube.com/watch?v=fhGF1PWJc0I
qt4 debug: IM: Setting an input
access_http debug: asking libproxy about url 'http://www.youtube.com/watch?v=fhGF1PWJc0I'
access_http debug: libproxy suggest to use 'direct://'
access_http debug: http: server='www.youtube.com' port=80 file='/watch?v=fhGF1PWJc0I'
main debug: net: connecting to www.youtube.com port 80
main debug: connection succeeded (socket = 12)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Server: gwiseguy/2.0
access_http debug: Content-Type: text/html; charset=utf-8
access_http debug: Accepting Cookie: YSC=D0imy65U9u8; path=/; domain=.youtube.com; httponly
access_http debug: Accepting Cookie: VISITOR_INFO1_LIVE=6E8Cte8FSaM; path=/; domain=.youtube.com; expires=Fri, 25-Apr-2014 18:11:46 GMT
access_http debug: Accepting Cookie: PREF=f1=50000000; path=/; domain=.youtube.com; expires=Fri, 25-Apr-2014 18:11:46 GMT
access_http debug: Connection: close
main debug: using access module "access_http"
main debug: TIMER module_need() : 325.607 ms - Total 325.607 ms / 1 intvls (Avg 325.607 ms)
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 608 bytes in 0s - 32986 KiB/s
main debug: looking for stream_filter module: 7 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 5.390 ms - Total 5.390 ms / 1 intvls (Avg 5.390 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.066 ms - Total 0.066 ms / 1 intvls (Avg 0.066 ms)
main debug: creating demux: access='http' demux='' location='www.youtube.com/watch?v=fhGF1PWJc0I' file='(null)'
main debug: looking for demux module: 54 candidates
ts debug: TS module discarded (lost sync)
mod debug: MOD validation failed (ext=)
avformat debug: trying url: http://www.youtube.com/watch?v=fhGF1PWJc0I
avformat debug: couldn't guess format
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/playlist
lua debug: Trying Lua playlist script /home/jochen/.local/share/vlc/lua/playlist/playlist_youtube.lua
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/playlist
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/anevia_streams.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/anevia_xml.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/appletrailers.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/bbc_co_uk.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/break.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/canalplus.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/cue.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/dailymotion.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/extreme.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/france2.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/googlevideo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/jamendo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/joox.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/katsomo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/koreus.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/lelombrik.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/metacafe.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/metachannels.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/mpora.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/pinkbike.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/pluzz.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/rockbox_fm_presets.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/soundcloud.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/vimeo.luac
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac
lua debug: Lua playlist script /usr/lib/vlc/lua/playlist/youtube.luac's probe() function was successful
main debug: using demux module "lua"
main debug: TIMER module_need() : 118.695 ms - Total 118.695 ms / 1 intvls (Avg 118.695 ms)
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in /home/jochen/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 0.346 ms - Total 0.346 ms / 1 intvls (Avg 0.346 ms)
main debug: `http://www.youtube.com/watch?v=fhGF1PWJc0I' successfully opened
lua error: Couldn't extract youtube video URL, please check for updates to this script
main debug: finished input
main debug: waitpipe: object killed
main debug: dying input
main debug: removing module "lua"
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input


Reply to this

-

 Re: Re: Does not work

 
 by exebetche on: Aug 25 2013
 
Score 50%

Your version of the script getting the video from youtube is outdated. You can update Vlc (the script is included) or update the script only, the new version is here:
https://raw.github.com/videolan/vlc/master/share/lua/playlist/youtube.lua


Reply to this

-

 Re: Does not work

 
 by bergschreck on: Aug 25 2013
 
Score 50%

Thank you. The new script works. Can you update the download link in the first post?

I cannot update vlc because it comes from the Debian Wheezy package repository.


Reply to this

-

 Re: Re: Does not work

 
 by exebetche on: Aug 25 2013
 
Score 50%

The link I give you is not my script, it's from the VideoLAN team. This extension just manage playlists not the videos, so you have to get both youtube_playlist.lua AND youtube.lua uptodate to read a playlist. Anyway I add the link in case someone else have this problem.


Reply to this

-

 Playlist Length

 
 by vlcaddonsrule on: Jul 13 2013
 
Score 50%

Works great! Is there any way to modify the Addon to only include the 20 (or any number) most recent videos that have been added? Or only the videos that have been added in the last day? I'm trying to create a shortcut for news played through VLC, and don't want to include old news.

Thank You!


Reply to this

-
.

 Re: Playlist Length

 
 by exebetche on: Jul 13 2013
 
Score 50%

Hi

You could do something like this but I didn't test it:


for i, video in ipairs(playlist_parsed) do
if os.time ()-video.time_created < 24*3600 then
local item = {}
item.path = "http://www.youtube.com/watch?v="..video.encrypted_id.CDATA
item.title = video.title.CDATA
item.artist = video.author.CDATA
item.arturl = video.thumbnail.CDATA
table.insert (p, item)
end

end


Reply to this

-

 Re: Re: Playlist Length

 
 by exebetche on: Jul 13 2013
 
Score 50%

Or rather:
if os.time ()-video.time_created.CDATA < 24*3600 then ...


Reply to this

-

 Re: Re: Re: Playlist Length

 
 by vlcaddonsrule on: Jul 14 2013
 
Score 50%

This is awesome - thank you so much!


Reply to this

-

 Re: Re: Re: Re: Playlist Length

 
 by exebetche on: Jul 14 2013
 
Score 50%

Cool


Reply to this

-

 Re: Re: Re: Re: Re: Playlist Length

 
 by vlcaddonsrule on: Jul 22 2013
 
Score 50%

Hi, I've run into a small bug when attempting to add multiple YouTube playlists to VLC - maybe you can figure this out.

All of the playlist URL's load properly, but only one playlist gets expanded to play. It seems as if VLC only shows the individual YouTube videos if you actively play the playlist. This makes the Random Play feature see a whole playlist as only one file, therefore reducing the likelihood of playing it.

Is there a way for this plugin to load the individual videos of a playlist into VLC, instead of loading the Playlist URL as a folder?


An example is below, with two YouTube playlists:

Run "C:\Program Files\VideoLAN\VLC\vlc.exe" "http://www.youtube.com/watch?v=p03D6RtkK_8&feature=c4-overview&list=UU8p1vwvWtl6T73JiExfWs1g" "http://www.youtube.com/watch?v=3tYf07Jri3A&feature=c4-overview&list=UUBi2mrWuNuyYy4gbM6fU18Q"


Reply to this

-

 Re: Re: Re: Re: Re: Re: Playlist Length

 
 by exebetche on: Jul 22 2013
 
Score 50%

Nope, the principle of vlc playlist extension is to search the related data to an item only when this item start playing and there is no way I know of to "pre-parse" the full playlist. If it run on a server maybe you can use the "http" or "telnet" interface extensions to start each of them manually first. But anyway I you want the playlist to loop you will face an other problem: the link to the video provided will expire so you also need a trick to refresh the link the 2nd a video is played (but it is not hard to do).



-

 help

 
 by MarcusLO on: Aug 21 2013
 
Score 50%

Update it please for the newest version. I enter any kind of playlist and even remove the s from https so I don't get the error. After that VLC just skips through every song without even playing a second of them or load anything.


Reply to this

-

 Re: help

 
 by exebetche on: Aug 21 2013
 
Score 50%

The problem don't come with this extension, it just retrieve the playlist, not the video. Maybe you have a version of Vlc that not include the script to get the video. You can get it from here:
https://raw.github.com/videolan/vlc/master/share/lua/playlist/youtube.lua
Just install it like you did for this one.


Reply to this

-

 Unable to play single video from a playlist

 
 by DevilinPixy on: Aug 23 2013
 
Score 50%
DevilinPixyDevilinPixy
Devilin Pixy
Home

When trying to play a single YouTube video from a playlist in VLC it will default to load the full YouTube playlist. Basically whenever the video I try to add comes from a playlist it will always play the full playlist instead of the single video.

I made an edit to the playlist_youtube.lua to fix this. The regex used is trying to match "list=" within the url. So it will match a playlist even when the actual url links to a single video within a playlist.

Example:
http://www.youtube.com/watch?v=<video ID>&list=<playlist ID> (single video)
http://www.youtube.com/playlist?list=<playlist ID> (full playlist)

Now by changing the regex which is used twice in the LUA code (function probe() and function parse() at the top) from "list=" to "?list=" this solved the problem for me.

Now I can play a single video that comes from a playlist with the first example and play a full list with the second example since the regex does not match for the first example and will not load the full playlist.

Might be useful if the code can be updated to prevent full playlists from being loaded when referring to a single video within a playlist.


Reply to this

-

 Re: Unable to play single video from a playlist

 
 by DevilinPixy on: Aug 23 2013
 
Score 50%
DevilinPixyDevilinPixy
Devilin Pixy
Home

Forgot to say: Good job on this addon though, truly love it :)


Reply to this

-

 update needed

 
 by Kashimus on: Sep 24 2013
 
Score 50%

With vlc 2.0.8 youtube playlist playing wont work(playlist_youtube.lua) tried all the trouble shooting,
the single video playing works (youtube.luac)


Reply to this

-

 Re: update needed

 
 by Kashimus on: Oct 9 2013
 
Score 50%

Okay its working for me too,


Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12 ...

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team