Intermittent Playback Issue - First few seconds of track plays then immediately moves to next song
Steps to reproduce
- Queue up an album for playback
- first song, and sometimes subsequent tracks, will play for a second before moving to the next track
- Sometimes returning to the previous song will then play it in full
What happens?
It looks like media fails to buffer correctly resulting in whatever is in the buffer playing and then calling the next track
[.WebGL-0x10580037a300] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.
Have also had the following events from console
useLogger.ts:71
[Sat, 23 Dec 2023 09:38:09 GMT] ERROR /assets/index-53eff6ae.js:34 O="",A=Math.min() >> AUDIO PLAY ERROR DOMException: The play() request was interrupted because the media was removed from the document.
ua
useLogger.ts:71
[Sat, 23 Dec 2023 09:38:09 GMT] ERROR /assets/index-53eff6ae.js:34 O="",A=Math.min() >> AUDIO PLAY ERROR DOMException: The play() request was interrupted because the media was removed from the document.
ua
What is expected?
Track loaded and played in full
Context
Funkwhale version(s) affected: 1.4.0
This is on top of radio track loading being fairly slow on my pod too. Especially when a 30 second track is loaded, the playtime is not enough and finishes before the next track is loaded.