Warning: session_start(): open(/tmp/sess_bih6sf6nnv6sav8io9ag93nsc1, 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  13  14 

-
.

 Triple comments

 
 by axmiha on: Nov 30 2013
 
Score 50%

Sorry, it seems I pressed "save" more than one time and sent the same comment 3 times. How do I clean this up?


Reply to this

-
.

 Re: Triple comments

 
 by Shurikmacedon on: Dec 29 2013
 
Score 50%

I solved this problem with Orbit downloader.

1. Run Orbit
2. Paste url: http://addons.videolan.org/CONTENT/content-files/149909-playlist_youtube.lua
3. Choose directory to save
4. Do all other steps in instruction


Reply to this

-
.

 Watch Later

 
 by nickeox on: Dec 5 2013
 
Score 50%

Would it be possible to make a version of this which will grab videos from the watchlater playlist? It isn't exactly a playlist, which is why the current one doesn't work for it, but honestly, if I could get one for the watchlater, it would be awesome. I looked through your code and tried to make one myself, but got stuck with having it import the urls from the xml file.


Reply to this

-

 Re: Watch Later

 
 by exebetche on: Dec 5 2013
 
Score 50%

That doesn't work because the watch later playlist is availbale only for you when you are logged in with your internet browser. This script doesn' do the authentifiaction process so youtube won't let it see this playlist. So it is possible but I don't have enough time or energie to do it now. Sorry. But if you want to do it I could give you advices.


Reply to this

-

 AddOn not working

 
 by axisambrosia on: Feb 6 2014
 
Score 50%

Hi there,

I'm running vlc on osx and the plugin won't play the videos in the playlist.

It does however add the playlist of youtube to the one in vlc AND it get's all the names of the songs etc. But it just skips the songs and the duration of every song is displayed as 00:00.

Did I do something wrong?

regards


Reply to this

-

 Re: AddOn not working

 
 by joshtrneny2 on: Mar 5 2014
 
Score 50%

Try this. I modified it and it should work: http://goo.gl/lJxGnX


Reply to this

-
.

 Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 6 2014
 
Score 50%

Playlist obviously can not be private because VLC does not have to account to login!


Reply to this

-
.

 Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 6 2014
 
Score 50%

This is spyware to me. Why are you redirecting the request to get the playlist to your own website and serving the same output? What are you trying to achieve?


Reply to this

-

 Re: Re: Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 6 2014
 
Score 50%

No, it's not spyware. From what I've tried, YouTube will only return the first 100 videos from the playlist. My PHP script, but it returns the entire playlist. You can try it out.

(sorry for my english)


Reply to this

-

 Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 6 2014
 
Score 50%

Ho ok, you didn't mentionned it in your previous comment...
If you have coding knowledge you should try to implement it in lua, I would be glad to put it in the script. I'm not a fan of people knowing what I watch on the internet (beside google and the nsa).


Reply to this

-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 6 2014
 
Score 50%

I would like to. But I don't know the way to do it in lua. The point id that repeatedly sending a request by shifting the index by 100 (at 101, 201,...). And then I generate XML.



-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 7 2014
 
Score 50%

Which I did (line 62).



-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 7 2014
 
Score 50%

> no! You must insert index parameter to playListURL! :)

Which I did (line 62).



-
.

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 7 2014
 
Score 50%

Cool, thanks for your input



-

 Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 6 2014
 
Score 50%

Would you share what is the url parameter you use to shift the playlist to item 101, 201 and so on?


Reply to this

-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 6 2014
 
Score 50%

parameter is only &index=X
first I request index=1 then 101, 201,... If index is after end of playlist, YouTube return XML, where aren't <video> tags OR playlist from start! So you have to check the uniqueness of video ID - video can be in playlist only once.



-

 Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 7 2014
 
Score 50%

Ok, I think that's it: http://pastebin.com/LdeR61PD
But i can't find a playlist with more than 100 item could you give the url of one or tell me if the script work?


Reply to this

-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 7 2014
 
Score 50%

no! You must insert index parameter to playListURL! :)

in PHP:
$url = "http://www.youtube.com/list_ajax?action_get_list=1&style=xml&list=".$_GET['list']."&index=".$index;



-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 7 2014
 
Score 50%

> no! You must insert index parameter to playListURL! :)

Which I did (line 62).



-

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 7 2014
 
Score 50%

Oh I'm sorry. I was inattentive. There is main PHP script http://pastebin.com/pAeAb4xJ

There are Czech words and it's quite confusing - I wrote it quickly. But it works :D



-

 Re: Re: Re: Re: Re: AddOn not working

 
 by exebetche on: Mar 7 2014
 
Score 50%

> Oh I'm sorry. I was inattentive. There is main PHP script http://pastebin.com/pAeAb4xJ

> There are Czech words and it's quite confusing - I wrote it quickly. But it works :D

No problem. I manage to test the script and it seems to work (I put it online).


Reply to this

-
.

 Re: Re: Re: Re: Re: Re: AddOn not working

 
 by joshtrneny2 on: Mar 7 2014
 
Score 50%

So it works! Good job



-

 Re: AddOn not working

 
 by exebetche on: Mar 6 2014
 
Score 50%

If the playlist appears then the plugin is probably working normally, because it's his job - retrieving the playlist, see "Troobleshooting" in description.


Reply to this

-

 Works perfect!

 
 by ufoasd on: Mar 12 2014
 
Score 50%

Works perfect!
Ubuntu 12.04 vlc 2.0.8 firefox 27.0.1


Reply to this

-

 Does not work

 
 by arsa on: Mar 28 2014
 
Score 50%

I've tried this parser with playlist like https://www.youtube.com/view_play_list?p=63F0C78739B09958 , it will load first video but nothing more. On URLs like https://www.youtube.com/playlist?list=PLFpoEtn7p2i_o3E_KY890OwKerEFwyT6q the plugin will not work at all.

I've looked at the debug console and VLC is using playlist_youtube.lua to read the videos but it will simply not work


Reply to this

-

 Re: Does not work

 
 by exebetche on: Apr 9 2014
 
Score 50%

The first url doesn't work but it's normal the url must contain "list=PL..." like said in the description, I'll add this url format some day.
The second works for me (I like the song in the airplane BTW). Maybe check that Vls is up to date. Beyhond that I can't help you without an error from the console.


Reply to this

-
.

 Incomplete Playlist

 
 by Attila13 on: Apr 9 2014
 
Score 50%

So, I don't know if youtube changed something or what, but for some time now for me VLC will load only 80 videos max, even if the playlist has the maximum of 200 videos.
No, the playlist isn't private and doesn't have private videos, so that side is cool.
I noticed that if I open a playlist on youtube it will load only 80 videos at once so I thought that maybe that could be the problem? But after the March update I tried messing a bit with the script and changed the "index" at line 62 to be equal to "2" and changed the values at line 91 and line 91 from 100 to 200 and with this little temporary edit the maximum number of videos went from 80 to 100 in VLC. I tried going further but if I enter everything bigger then 3 on the index the playlist load will skip ahead 10 videos and will start the list from video number 10 and it will load it up until video 110 so this is still 100 videos.
Does somebody know what could be the problem here?


Reply to this

-

 Re: Incomplete Playlist

 
 by FNCardascia on: Apr 10 2014
 
Score 50%

I'll be honest, I have no idea what the hell I'm doing in regard to troubleshooting.. it really isn't in my forte.

But, I do kinda understand where you're getting from here. Give this a shot.. it worked for me at least in the few 200 playlists I attempted.

Change your local index back to 1. I have no idea what that means so leave it be.

Since youtube decided to be funny and change things around again, it does seem that the max items a playlist will initially load is 80 -- this is where your second part helped.

Change playlist_parsed from 100 to 80... and index +100 to +120.

Hope it helps


Reply to this

-

 Re: Re: Incomplete Playlist

 
 by Attila13 on: Apr 10 2014
 
Score 50%

Unfortunately it didn't worked.. :(
But thanks for the help.


Reply to this

-

 Re: Re: Re: Incomplete Playlist

 
 by Madze on: Apr 10 2014
 
Score 50%

I had the same problem. The solution of "FNCardascia" only worked for playlists with exactly 200 items. But I just added a variabel pl_chkd which counts how many items of the playlist were checked.

Just add:
line 54 :local pl_chkd = 0
line 74: pl_chkd = pl_chkd + 1

line 54 should be after line
"local index = 1"

line 74 should be after line "for i, video in ipairs(playlist_parsed) do"

replace:
lines 94 - 95:
if pl_chkd == 80 then
index = index + 120

lines 94 - 95 were before
if #playlist_parsed == 100 then
index = index +100


Reply to this

-
.

 Re: Re: Re: Re: Incomplete Playlist

 
 by Madze on: Apr 10 2014
 
Score 50%

Sorry for the double post

Just found an error: it didnt load some items, but i fixed it

replace the lines 94-95 with these lines:
if pl_chkd == 80 then
index = 101
elseif pl_chkd == 180 then
index = 201

and if it doesent load all items, look which and how many items it loaded an try some other numbers
hope it helped


Reply to this

-

 Re: Re: Re: Incomplete Playlist

 
 by Madze on: Apr 10 2014
 
Score 50%

I had the same problem. The solution of "FNCardascia" only worked for playlists with exactly 200 items. But I just added a variabel pl_chkd which counts how many items of the playlist were checked.

Just add:
line 54 :local pl_chkd = 0
line 74: pl_chkd = pl_chkd + 1

line 54 should be after line
"local index = 1"

line 74 should be after line "for i, video in ipairs(playlist_parsed) do"

replace:
lines 94 - 95:
if pl_chkd == 80 then
index = index + 120

lines 94 - 95 were before
if #playlist_parsed == 100 then
index = index +100


Reply to this

-

 Re: Re: Re: Re: Incomplete Playlist

 
 by Attila13 on: Apr 12 2014
 
Score 50%

Thanks for the help, but unfortunately it loads only 100 videos, just like if I'd edit the index to 2 and the line 91-91 from 100 to 200...Don't know what could be the issue, but it's most likely youtube.....because this problem occurred suddenly after youtube did another stupid update to the site...


Reply to this

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

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