- This topic has 3 replies, 2 voices, and was last updated 5 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Max2Play Home › Forums › Max2Play on Raspberry PI › [SOLVED] Update /var/lib/squeezeboxserver/prefs/favorites.opml without restarting server?
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
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.
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
Hi Mart,
Thanks for sharing! Glad to hear the API Examples helped you out 🙂
You must be logged in to reply to this topic.
Max2Play free download
Download now