yoheimuta / RxMusicPlayer

A reactive library to make it easy for audio playbacks using RxSwift.
MIT License
58 stars 8 forks source link

Bug: slider is not updated #52

Open rastaman111 opened 2 years ago

rastaman111 commented 2 years ago

I noticed that when the audio comes to an end (for example: there are 15 seconds left) and at the same time open a new screen as a present, then the scale will stop at the same place and will not move, and also when moving to the next track, it will stand in the same position

rastaman111 commented 2 years ago

It seems that tracking progress is being lost, this is a rare problem, but not a pleasant one. If necessary, I can send a video.

rastaman111 commented 2 years ago

ezgif com-gif-maker

rastaman111 commented 2 years ago

This happens when it throws an error RxMusicPlayer.Status.failed invalidCommand(cmd: RxMusicPlayer.RxMusicPlayer.Command.seek(seconds: 0, shouldPlay: false))

rastaman111 commented 2 years ago

hi, any idea how to solve this bug?

yoheimuta commented 2 years ago

@rastaman111 Thank you for reaching out. I'm not sure if it's caused by the application UI's matter or RxMusicPlayer's something.

It's better to reproduce this issue based on our example project.