a simple but full-featured web player for OpenSubsonic music servers (Navidrome, Gonic, Ampache, etc) devins.page/tinysub

Pausing then resuming stops track, skips to next #187

Open rnkn.xyz
Open opened by rnkn.xyz

Hello!

I've experienced this enough times that I think it might be a bug, although I'm not sure whether it's related to Tinysub or Gonic. When I pause a track then play it again, it will play for 20 seconds or so and then skip to the next track. It seems that pausing stops the track from buffering, it plays until the buffer runs out, then fails and skips to the next. I can't see anything relevant in the browser console. Is this likely a Tinysub bug?

Thanks!

interesting, sorry about the inconvenience! few questions just so i can try to reproduce the problem:

  1. what browser does this happen on? i've experienced some odd playback issues in the past with Safari (likely WebKit bugs). I also primarily test in Chromium, so if this is on Firefox I wouldn't know of any playback issues personally
  2. what audio engine are you currently using? can check in Settings -> General -> Audio Engine
  3. is transcoding enabled or disabled? can check in Settings -> Data (if transcoding is the cause of this, Gonic could be at fault. but I will have to test in my Gonic instance, I primarily use Navidrome)
  4. does this consistently happen with certain audio tracks, and if so, is it only exclusive to certain file formats? what file format are you using, or transcoding to?

Thanks for the quick response! Sorry for the lack of detail, very absent minded of me.

  1. This is in Firefox. I don't think I've used Tinysub in other browsers.
  2. Audio engine is HTML Audio.
  3. Transcoding is enabled with MP3 320 max bitrate.
  4. It seems to happen with any track. A lot of my music is long (10+ mins, up to an hour) so I'm more likely to pause at some point during the track, but it seems to be just as often in regular 3-5 min tracks if paused/resumed. Most of my music collection is in FLAC, and I know it has happened a lot with FLAC files, (always with transcoding to MP3 on) but I will take note of the source file format if it happens with another format.

For added context, I use Amperfy on iOS, via Gonic with the same library, and I can't recall this happening there.

Please let me know if there is anything else I can do to help.

Thanks!

I just experienced a similar issue during playback… I’ll look into why this happens once I’m not busy, thanks for reporting!

(Navidrome, HTML Audio, Safari, transcoding to opus 128)

Could you try updating to 2.87.3 and see if the issue still occurs? It's a very tiny fix: c1574cdb

(i suspect c1574cdb will fix the skipping, but may not fix whatever caused buffering to fail which could be a separate problem. in the case that it stops buffering entirely and doesn't recover, maybe check the network tab in devtools and see if there are any signs there?)

Sign up or Sign in to add to the discussion.