How can I get current song playing data?
moyinzunza opened this issue · comments
Is it possible get the duration of the current song and the elapsed time ?
Hey @moyinzunza , I'll be adding this feature soon to the main branch, for now it only supports live streams.
There is an implementation in the FS branch, you can get the duration and elapsed time by implementing this delegate method:
func radioPlayer(_ player: FRadioPlayer, playTimeDidChange currentTime: TimeInterval, duration: TimeInterval)