Hi there.
I'm trying to solution for a problem I'm having and would love to see how others have resolved.
I have Airfoil up and running and have a trigger that when the Cloakroom light goes on, Airfoil airplays to an airplay target connected to speakers in that room.
I have Apple Music running in the background and have a playlist that runs continuously (on repeat).
this gives a great experience of having music enabled at a different song and different point in the song (like turning on the radio) when the light turns on.
Now I'm finding that after a while the playlist stops. I'm not sure if Apple Music only plays the long playlist once and then stops or whether something else is happening to stop playing the music, but I'll find that about a day or so in the music has stopped. The Airfoil is still targeting and activating the speaker, but because nothing is playing, no music is then being piped.
Is there a way for me to solve for this? I'm happy to create an automation that restarts the playlist at a particular time in the early hours, but I'm not sure how to achieve this.
Thanks