teodorpatras / Jukebox

Player for streaming local and remote audio files. Written in Swift.
MIT License
551 stars 122 forks source link

How to get noticed when player finished? #23

Closed sneps85 closed 8 years ago

sneps85 commented 8 years ago

How can i be notified when the player did finish playing the current item? I have a UISlider to control its progress and i have to reset the slider when the item was played to 0.0

sneps85 commented 8 years ago

As far as i can see, the only available states are Ready, Playing, Failed, Paused, Loading

sneps85 commented 8 years ago

Oh, i think i found it. Ready should be the right state, am i right?