navidrome / navidrome

🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
https://www.navidrome.org
GNU General Public License v3.0
10.6k stars 804 forks source link

Web Player Skips #3020

Open Pachin0 opened 1 month ago

Pachin0 commented 1 month ago

I confirm that:

Version

0.52.0-SNAPSHOT (544ae90e)

Current Behavior

The web player sometimes (relatively often) skips when you focus the tab or the tab regains focus from the os. It skips forward something like half a second or so.

Expected Behavior

No skipping obvs

Steps To Reproduce

Open the web player of navidrome Leave some song player Go to another tab and do something on that tab without giving focus back to navidrome for a while, way 5 min or 10. You could also leave the navidrome tab on focus in firefox/chrome, then alt-tabbing out to some other app in your system Tab back onto the web browser, either it skips right there, or you can also click anywhere on the navidrome page and it should skip.

Environment

- OS: openSUSE Tumbleweed x86_64 
- Browser: 125.0.3 (64-bit)
- Client: web interface

How Navidrome is installed?

Built from sources

Configuration

DefaultTheme = "Dark"
ScanSchedule = "0"
LogLevel = "Debug"

Relevant log output

No response

Anything else?

https://drive.google.com/file/d/1wWNj61WJXHg7MTfD8wNYyIuzWa4rtDQx/view?usp=sharing this video shows the skipping. I could've played a slower song to better demonstrate it, but sometimes the skipping doesn't happen. I have to further research what causes it. Perhaps someone could help.

Code of Conduct

brachna commented 1 month ago

Same issue here. Windows 10, Firefox/Brave, Navidrome 0.52.5 Very annoying. Right now I hit play and launch another tab, so that Navidrome tab can't become active. That way there's no skipping and I can listen in peace.

Scrambler-77 commented 3 weeks ago

Same here; Firefox 126.0.1 on Arch Linux. Navidrome 0.52.5. It sometimes skips on loosing focus too...

Edit: i switched from zen kernel to default kernel and the issue seems disappeared....

Bluebotlabz commented 1 week ago

Same here:

Chrome 125.0.6422.176 (Official Build) (64-bit)
Windows 11 Home 23H2 22635.3720
Navidrome 0.52.5 (c5560888)
Bluebotlabz commented 1 week ago

Found a workaround which is just clicking on a link within navidrome which then stops skipping when tab/focus is changed, ie: clicking on all under albums and then defocussing would stop it from skipping if it was before