2014-10-16, 19:51
I've been playing with idea to write a plugin for one particular commercial music service.
API only gives back 3 songs (the url's to media files) at the time and when user skips or finishes playing these, new set of url's is fetched and added to playlist.
I've written few plugins before (only video) where i do know the full url's beforehand so playing those has been quite straight forward.
Could someone describe how something like that would be implemented on general level - if possible in the first place ?
I prefer xbmcswift as plugin framework (which might be also the reason why i think the implementation is rather cumbersome)
API only gives back 3 songs (the url's to media files) at the time and when user skips or finishes playing these, new set of url's is fetched and added to playlist.
I've written few plugins before (only video) where i do know the full url's beforehand so playing those has been quite straight forward.
Could someone describe how something like that would be implemented on general level - if possible in the first place ?
I prefer xbmcswift as plugin framework (which might be also the reason why i think the implementation is rather cumbersome)