namidaco / namida

A Beautiful and Feature-rich Music & Video Player with Youtube Support, Built in Flutter
Other
2.29k stars 139 forks source link

Progress bar not synchronized #34

Closed fedikhatib closed 11 months ago

fedikhatib commented 1 year ago

When playing an audio the progress bar is not synchronized with the elapsed and passed time and not showing the position in the slider. And when taping it pause the player. Also if you notice in the right side of the progress the time is 00:00 Screenshot_2023-10-24-14-41-39-891_com msob7y namida

How to reproduce: Go setting and reindex and refresh library . The open audio from the recent home

Red6785 commented 1 year ago

Had this issue suddenly, never noticed it before, but Screenshot_20231024_133854

MSOB7YY commented 1 year ago

this happens because the duration is zero, i.e. couldn't be extracted

usually when u play a track, and it has a duration of 0 (tagger failed to extract duration before), then the new duration obtained (after playing) will be assigned to this track

what happened here is either one of these:

  1. the player also failed to obtain a duration (less likely)
  2. u did a reindex, which erased the duration obtained from player, and now u have to play it again to assign the correct duration
MSOB7YY commented 1 year ago

@Red6785 what issue exactly? the screenshot seems alright

Red6785 commented 1 year ago

@MSOB7YY as you can see, the duration of the song is 3 minutes and 22 seconds, yet the progress bar is halfway through at 57 seconds. It should be halfway at 1 minute and 44 seconds.

fedikhatib commented 1 year ago

@MSOB7YY yes I did a reindex as stated above because all home screen shimmers keeps loading so did a reindex and the tracks loaded in the home screen but it trigger this bug

MSOB7YY commented 11 months ago

as mentioned, this should be fixed (hopefully), feel free to re-open otherwise.