superjohan / ifm

Intergalactic FM for iPhone
1 stars 2 forks source link

Interruptions are not handled properly #30

Closed superjohan closed 3 months ago

superjohan commented 9 months ago

If the stream is interrupted by something (a phone call, Siri during CarPlay), playback cannot be resumed from the "now playing" controls. I haven't looked into it at all yet but my guess is that the player remains in a playing state from its perspective, since we don't handle interruptions.

A workaround is changing the channel via the next/previous buttons, but the play/pause button does nothing. I'm not sure whether we want to restart playback automatically, though. Could look into it.