"Play next song automatically" in plugin - doable? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: "Play next song automatically" in plugin - doable? (/showthread.php?tid=85692) Pages:
1
2
|
"Play next song automatically" in plugin - doable? - mbetter - 2010-11-19 I made a music plugin, is there any way to get the next song in the directory to play automatically when a song ends? - jmarshall - 2010-11-19 XBMC will do that automatically assuming you have the option enabled. - mbetter - 2010-11-19 jmarshall Wrote:XBMC will do that automatically assuming you have the option enabled. It doesn't seem to be working for me. I can queue the entire directory, but for some reason I can't get album art to show up when I do it that way. I add my directories with: Code: def addDir(name,object_id,token,mode,iconimage): and my links with: Code: def addLink(name,url,iconimage,node): Where url is of the type: http: //ampache-server.com/a/play.php?song=1000... I think I'm missing something here. - NordishByNature - 2010-11-19 Hello, Maybe you have to set the Music.AlbumArt since you're using InfoLabels? Just an Idea not tested. cu Nordish - mbetter - 2010-11-20 NordishByNature Wrote:Hello, I can't find any reference to this in the documentation, can you clarify? - spiff - 2010-11-20 actually jmarshall it doesn't auto-advance for plugins. the viewstate does not return autoplay... - mbetter - 2010-11-20 Thanks, spiff, I feel like slightly less of an idiot now While you're around, any clue about my thumbnail issue, i.e. thumbnails showing up when i open a (plugin) directory and play a link by itself but not when I queue the whole directory? - jmarshall - 2010-11-21 In what cases would we not want autoplay? I can't think of any (for a music plugin). - spiff - 2010-11-21 none what so ever. it's a bug in my view - spiff - 2010-11-24 fixed in r35433 - mbetter - 2010-11-24 Thanks, spiff! - nmirza - 2011-01-22 Hi Spiff, i just installed r35744 and xbmc still doesn't play the next song automatically when the current one i selected ends. i made sure the option to play next song automatically is also selected in options. could you pleaselook into this thanks. spiff Wrote:fixed in r35433 - spiff - 2011-01-24 works fine for me in all add-ons. must be your end. - mbetter - 2011-02-03 I've also had no luck with this. During play, I'll see "Next:" pop up over the currently playing song title with nothing next to it. Is there something specific I have to do to set the next song? Code: def addLinks(elem): - mbetter - 2011-02-03 I got it working by using SetResolvedURL. I would like to know if it's possible to do it without SetResolvedURL as my current plugin doesn't really need it (AFAIK) and it introduces a redundant plugin call in between songs. |