[18-05-25 07:29:21.3743] Slim::Buttons::Common::__ANON__ (812) Error: No
valid url found, not adding favorite!
[18-05-25 07:29:21.3751] Slim::Buttons::Common::__ANON__ (817) Backtrace:
That error line (which is in red in the log file) looks to be the key.
I got the same logging block when I attempted to store either a local
library track or a Spotty track. So maybe it's not able to extract the
URL from the currently playing track, and only works on tracks that are
navigated to as in the Boom?
Yeah, seems to be the case: that code indeed relies on information being
available from the display code used for the old devices.
I still believe the jivefavorites is what you need:
jivefavorites set_preset key:[0-9] favorites_url:http://...
favorites_title:station%20title favorites_type:audio
Optionally you could pass a playlist_index value, referring to the item
in your playlist you'd like to use as a preset. You'd have to use status
or something to figure out what the values of the currently playing
track are.
--
Michael
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter