1
0
Fork 0
kubernetes/music-assistant
Dustin 42a7964991 music-assistant: Tell players to restart on startup
I haven't fully determined why, but when the Music Assistant server
restarts, it marks the _shairport-sync_ players as offline and will not
allow playing to them.  The only way I have found to work around this is
to restart the players after the server restarts.  As that's pretty
cumbersome and annoying, I naturally want to automate it, so I've
created this rudimentary synchronization technique using _ntfy_: each
player listens for notifications on a specific topic, and upon receiving
one, tells _shairport-sync_ to exit.  With the `Restart=` property
configured on the _shairport-sync.service_ unit, _systemd_ will restart
the service, which causes Music Assistant to discover the player again.
2025-08-11 20:59:54 -05:00
..
ingress.yaml music-assistant: Initial deployment 2025-08-11 20:43:28 -05:00
kustomization.yaml music-assistant: Tell players to restart on startup 2025-08-11 20:59:54 -05:00
music-assistant.yaml music-assistant: Initial deployment 2025-08-11 20:43:28 -05:00
namespace.yaml music-assistant: Initial deployment 2025-08-11 20:43:28 -05:00
restart-sync.service music-assistant: Tell players to restart on startup 2025-08-11 20:59:54 -05:00
restart-sync.sh music-assistant: Tell players to restart on startup 2025-08-11 20:59:54 -05:00