As recently mentioned in the MediaServer forum thread, while examining the LMS source code around favorites-handling, I discovered an undocumented legacy feature which allows the entire favorites hierarchy to be retrieved with a single API call. This means that there is no more recursion needed to fetch all your favorites, implying that timeouts should no longer happen on favorites commands :D
I've now implemented this feature in LMS-lite. Because Python (LMS-lite) sorts differently to nodejs (MediaServer), the numbering scheme will be a bit different between the two skills but it will be consistent. It may also be different from what you were used to so if you have Alexa routines setting favorites you may need to change the number you used there. Note also that the changes mean that your 'on mysqueezebox.com' folder is _not_ queried for content. That's a small price to pay for the fact that huge favorites collections -will - play when you keep the favorites locally on LMS instead of on mysb.com. As a reminder, you can only play favorites by specifying an *integer* number that you determine by counting what you see when looking at your favorites in the default skin (Material sorts differently!). You cannot use names or dot-notation here due to the limitations of Smart Home skills use MediaServer if you want that luxury. Also, you -don't- mention 'Play' in the command it's just: 'Alexa, Favorite 16 on Kitchen Boom'. 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 [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
