Playing schedule for PI MuscBox

Hello! Is it possible to manage MusicBox playing automatically after start for example from 11.00AM to 10.00PM with max volume and mute from 10.00PM to 11.00AM ?

You should be able to use Mopidy-Alarmclock to start playing a playlist at a certain time (though it cannot be used to schedule a pause/stop as far as I know).

If you just want to set the volume levels then you may have to resort to some basic scripting using Mopidy’s HTTP JSON-RPC API. This might be as simple as wrapping the following in a cron job:


curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.mixer.set_mute", "params": {"mute": true}}' http://localhost:6680/mopidy/rpc

Also see if you can achieve what you want using mpc rather than RPC call as it’s generally a bit simpler to use.