Closed jimluo123 closed 8 months ago
my problem seems like the last song of the example playlist. Does it play have a specific format of songs?
disclosure i have no idea waht happened what platform is this? could you repurpose the example app's button to this addQueue function you pasted, and once pressed the progress bar should go funky according to your description? please share the repo i guess
I know what's happened. There are problems about some songs of mine when I fetched them from backend, they became live stream and can not get any duration when I played them on web browser. Sorry about the time.
Describe the Bug The duration of tracks are exited, but after adding to track and I found that the value of duration in Event.PlaybackProgressUpdated was still zero. And the duration value from useProgress() hook was zero too.
Steps To Reproduce Add track to player, and keep playing. Then look at the logs from event listener.
Code To Reproduce
Replicable on Example App? Can you replicate this bug in the [React Native Track Player Example App] (https://github.com/doublesymmetry/react-native-track-player/tree/main/example)? No.
Environment Info:
both in simulator and real device Windows
How I can Help I can provide some codes and screen shot to illustrate the problem