Kodi Community Forum
Bug Youtube Playlist Labels - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: Bug Youtube Playlist Labels (/showthread.php?tid=211052)



Youtube Playlist Labels - stARNix - 2014-12-11

Hey Guys,

I'm working on a Custom Webinterface for XBMC.
I have the following problem:

I'm adding a Youtube-Video with the following command to the playlist:

PHP Code:
c.Playlist.Add({ playlistid1item: { file"plugin://plugin.video.youtube/?action=play_video&videoid=" id  } }); 

and read out the Playlist with:

PHP Code:
c.Playlist.GetItems({ "playlistid"}, function(response) { //paint Interface }); 

But I don't suceed getting back the labels/titles for the added Youtube Videos.
I'm just going crazy, because when I add a Youtube Link inside XBMC to the playlist - everything is working fine.

So it seems that my Playlist.Add doesnt work right :/ - I already had a look inside some other pugins who offer playlist add, I dont find the difference :/


I hop you can help me out guys Smile
Thanks in advance,

Simon


RE: Youtube Playlist Labels - stARNix - 2014-12-11

Perhaps I have a clue - Those plugins I tested have the possibility to write further properties to a playlistitem with Python ?
Is there any chane to do it without Python in Javascript?


RE: Youtube Playlist Labels - Montellese - 2014-12-11

Unfortunately that's currently not supported by the JSON-RPC API.


RE: Youtube Playlist Labels - stARNix - 2014-12-11

Ah damn. Thanks for your reply anyway Smile

Do you have a possible workaround in your mind?
I thought about controling the youtube plugin to add a file to the playlist .. something like this.