A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
Hello,
I use "shairport-sync" to play music from iTunes or iOS device players on the Phoniebox.
To stop tracks currently played by mpd I use the settings in shairport-sync.conf:
I would love it if there was a standard integration of AirPlay, like there is for Spotify via Mopidy and thus also the following features would be possible:
respect Phoniebox inactivity timeout
Sync AirPlay volume change with Phoniebox volume
Display metadata like track number, title, artist etc.
Stop AirPlay playback when Phoniebox-mpd playback starts
To prevent inactivity the "active-state" could be remembered according to shairport-sync.conf e.g. in a file:
// run_this_before_entering_active_state
// run_this_after_exiting_active_state
There is also an event for volume changes:
// run_this_when_volume_is_set
Metadata can be obtained either via a Pipe or via MQTT topics. I don't think this is that important, instead it would be enough to just show an AirPlay similar icon on the display.
Unfortunately I have very little time at the moment to pursue this further, but maybe someone will be willing to implement it ;-)
Hello, I use "shairport-sync" to play music from iTunes or iOS device players on the Phoniebox. To stop tracks currently played by mpd I use the settings in shairport-sync.conf:
run_this_before_play_begins = "/usr/bin/mpc stop";
I would love it if there was a standard integration of AirPlay, like there is for Spotify via Mopidy and thus also the following features would be possible:
To prevent inactivity the "active-state" could be remembered according to shairport-sync.conf e.g. in a file: // run_this_before_entering_active_state // run_this_after_exiting_active_state
There is also an event for volume changes: // run_this_when_volume_is_set
Metadata can be obtained either via a Pipe or via MQTT topics. I don't think this is that important, instead it would be enough to just show an AirPlay similar icon on the display.
Unfortunately I have very little time at the moment to pursue this further, but maybe someone will be willing to implement it ;-)
Thanks + many greetings!