Caching (?) issues when requesting transcoded files

First of all: thank you so much for developing symfonium - love it!

Issue description:

My issue might be related to the way caching of transcoded files is done:

  • I use gonic as provider.
  • As per gonic-settings, songs are transcoded prior to being sent to symfonium.
  • On Symfonium I request to start playback of a song (e.g. see the song “Color” by “Ojos de Brujo” in the attached log)
  • Playback of song starts, I can observe the timeline-bar of the song ‘fill’ up in a darker grey for approximately the first 20seconds of the song. (I assume this indicates the caching of the file).
  • However, caching doesnt move on on. Playback reaches end of cached file (e.g. 20seconds) and then jumps to next song in playlist. (in case of attached log files, it jumpes to song “Sultanas de merkaillo”
  • Now this song has almost half of the song ‘cached’.
  • I assume while I was listening to song 1 (and urgently needed song 1 to finish to transcode/cache), somehow song 2 (and maybe song 3) started to transcode and cache.

Is there a way to prioritize caching of song 1?


debug.log (136.1 KB)

What you see is the player buffer, not related to actual caching at all.

From the logs everything seems to works correctly and current song is always prioritized and is not cancelled in those logs.

Check Gonic logs and see if there’s issue there with multiple transcode at the same time causing something. @sentriz

yes i think it is possible that in some cases parallel transcode requests could be a bit funny. i just pushed a commit to gonic master to make that a bit more robust

thanks for both of your quick replies!

will give it a try with nightly gonic as soon as possible.