The way *favorites* are handled by LMS-lite has been changed. Under the
hood, if you asked for Favorite 'N', it used to call
["favorites","playlist","play","item_id:'+str(int(N) - 1)+'"] which is
fast but does not traverse nested favorites. On Squeezeboxes with a
display, it also led to a heart symbol on the screen instead of the
now-playing screen.

It now works the same way as favorites in MediaServer, meaning it parses
the hierarchy in multiple API calls to retrieve all your favorites.
Flattening to a numerical index should be the same as it is in
MediaServer. In case this to-and-fro'ing to the API causes a timeout
with your slow internet, you can still use the old method by asking for
'preset' instead of 'favorite'. With favorite, you now also get
now-playing as under the hood it uses
["favorites","playlist","play","menu:favorites","isContextMenu:1","item_id:'+str(id)+'"]

If you ask for a numerical favorite that is out of range, Alexa will now
tell you rather than just saying 'OK' as she used to. :cool:

Enjoy!


------------------------------------------------------------------------
philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111443

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to