Triode wrote: > The spotify plugin is really written for the cometd interface rather > than cli - you probably won't be able to browse the interface completely > via cli I'm afraid..
Thank you for the fast response. Sorry that my question was not completely clear. I'm not as such trying to browse the list of playlists. If I could just get hold of a playlist id that I can pass to the 'playlistcontrol' or the 'loadtracks' command I would be more that happy. A 'regular' SB playlist can be loaded through: Code: -------------------- <player_id> playlistcontrol cmd:load playlist_name:<name of playlist> -------------------- A spotify song can be loaded through: Code: -------------------- <player_id> playlist open spotify:track:4lgHJVWwydIxbYQka6qKEC -------------------- When I load a spotify playlist I get the following in the CLI interface: Code: -------------------- playlist loadtracks listref ARRAY(0x7fb5e9ee5500) -------------------- The problem is that the ref to the array is not something I can use to point to the playlist as the reference is not fixed over time (I assume). I wonder if there is a way to get hold of the unique identifier to a spotify playlist. Something along the lines of spotify:playlist:<unique ID> maybe? I guess you are using something like that in the cometd interface too? Best regards, Hollie. ------------------------------------------------------------------------ hollie's Profile: http://forums.slimdevices.com/member.php?userid=30753 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins