ojo / ios

:iphone:
0 stars 0 forks source link

Stop showing NowPlayingInfo item after expiry #51

Closed btc closed 7 years ago

btc commented 7 years ago

It expires at self.startedAt + self.lengthInSeconds.

btc commented 7 years ago

Right now, if the server doesn't send a new Info object, the current one will keep being displayed well after the song has finished playing. This addresses that.

@ojo/android

btc commented 7 years ago

implemented. i also added a 23 second delay on expiry to take into account the variable stream latency. results so far so good