Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Song progress bar is frequently inaccurate #14

Open
lamemakes opened this issue May 15, 2023 · 0 comments
Open

Song progress bar is frequently inaccurate #14

lamemakes opened this issue May 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lamemakes
Copy link
Owner

Describe the bug

When playing a bluetooth track that contains duration and position (progress timestamp) data, the progress bar is frequently not accurate, finishing largely before a song is over, or not completing when a song does.

To Reproduce

  1. Connect to PILOT Drive via bluetooth
  2. Play an audio track that contains duration & position data
  3. Note that the progress bar is frequently not accurate, indicating the song is done much before it actually is.

Expected behavior

The progress bar matches the proper timestamp

Actual behavior

The progress bar is inaccurate to the actually playback timestamp

Screenshots

The progress bar about to complete
incomplete_prog_bar
The completed progress bar
completed_prog
The actual song progress, not even halfway (jump scare)
IMG_20230515_002037

Host information:

  • OS: Fedora
  • Version: 37

Browser information:

  • Browser: Mozilla Firefox
  • Version: 110

Smartphone:

  • Device: Pixel 6a
  • OS: Android 13

Additional context

This behavior is seemingly random, and the progress bar seems to be hit or miss, but when it's off it's way off. My guess is that this is due to the setInterval implementation and the inaccuracies of async time keeping

@lamemakes lamemakes added the bug Something isn't working label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant