[SOLVED] Update /var/lib/squeezeboxserver/prefs/favorites.opml without restarting server?

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI [SOLVED] Update /var/lib/squeezeboxserver/prefs/favorites.opml without restarting server?

This topic contains 3 replies, has 2 voices, and was last updated by  Heiner Moderator 1 year, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • 21. August 2019 at 9:34 #46822

    Hi all,

    I wrote some code that updates the favorites file of the squeezeboxserver. I would like to schedule this task by a cronjob. Everything works fine, except that I have to restart the squeezeboxserver to update the favorites in iPeng. Is there a way to update the favorites without the need to restart?

    Kind regards,

    Mart

    21. August 2019 at 9:51 #46823

    Hi Mart,

    Not as far as I know. However, you can do the restart with the command from our API-Examples to easily integrate it wherever it suits you best.

    You can also ask around in the slimdevices forums, they might have some more insights into the workings of the LMS on debian systems.

    22. August 2019 at 11:11 #46825

    Managed to implement it in another way: I’m now checking the status of each player, if all are not playing, I restart the server. Everything works fine with the API-Examples.

    Kind regards,

    Mart

    28. August 2019 at 11:25 #46896

    Hi Mart,

    Thanks for sharing! Glad to hear the API Examples helped you out 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Register here