strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.67k stars 184 forks source link

Too little buffering from remote sources #1333

Open h-2 opened 9 months ago

h-2 commented 9 months ago

Describe the bug

When streaming from a subsonic server, the application seems to perform little or no buffering, so if the network connection is unstable (Mobile, train, ...), playback is repeatedly interrupted. Pausing and waiting does not seem to help.

To Reproduce

  1. play music from a subsonic server
  2. use the Wifi on a German train

Expected behavior

I would expect the application to cache the entire song in advance, ideally even the next two songs. Since songs are usually small, the app should easily be able to download multiple songs ahead of time during "bursts" of internet availability. This is the behaviour on my Android subsonic client, too.

System Information:

Additional context

If there are situations where the suggested behaviour would be desirable (I don't know which one that would be), you could add an option to the settings to always cache the upcoming X Megabytes or Y songs.

jonaski commented 6 months ago

https://gstreamer.freedesktop.org/documentation/application-development/advanced/buffering.html?gi-language=c#buffering-strategies