It seems like Volumio scans network sources only once during boot.
There does not seem to be a way to rescan without a reboot.
So I have a problem, when my network source is down during the volumio boot.
What I would love was a plugin that intercepts the “could not find that song” message, rescans the source, and then plays the source. However I could not find a corresponding API call.
Or at least a button to manually rescan the network sources, that would work too.
Is this at all possible?
I would like to avoid a python script being run via crontab every minute or so due to energy cost.
There is no way to accomplish this without a script. If the network is not available you’re not able to control Volumio as this relies on the network. So even if there is a button you would not be able to control/access it.
A script is totally fine as long as it does not have to run in crontab.
It’s not the network that’s not available, it’s a network source (music source, my volumio is in german, I don’t know the exact translation - maybe “network share”). Basically, my music server was (!) offline during volumio boot and is now online - I have to reboot volumio for it to get recognized.
You can’t do this without a cron or loop. Only way to bypass this is hacking vanilla code, which I will not support.
As work around, you could edit the network share, without modification and save it. This will trigger the update.
Advice: Solve this at the root of your problem, not trying to solve the outcome of it.
Well, the root is, that I’d like to boot my server and volumio at the same time in the morning (as there’s no need for any of them to be running 24/7). Boot times are different though. It’s been like that for 7 years now. I always wait for the server to be up before booting volumio. Anything different means a volumio reboot as soon as I want to access the network share.