-
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
unconfirmed bugAre you getting this bug too?Are you getting this bug too?
Description
Desktop
- OS: Arch Linux
- OS version: rolling
- Tauon Version: 8.2.3
- Installation method: pacman
Describe the bug
As in the title—the stream-bitrate setting has no effect when streaming music from Navidrome, causing excessive bandwidth usage. This is caused by Navidrome assuming the raw format by default, rather than a compressed format like opus.
Fixing this would require exposing a streaming format setting in addition to a the streaming bitrate, and the value of this setting should be passed into the underlying Subsonic server using the format parameter.
Tauon/src/tauon/t_modules/t_subsonic.py
Lines 125 to 131 in 5e9d803
| def resolve_stream(self, key: str) -> (tuple[str, dict[str, str]] | bytes | Any | None): | |
| p = {"id": key} | |
| if self.prefs.network_stream_bitrate > 0: | |
| p["maxBitRate"] = self.prefs.network_stream_bitrate | |
| return self.r("stream", p={"id": key}, get_url=True) | |
| # logging.info(response.content) |
def resolve_stream(self, key: str) -> (tuple[str, dict[str, str]] | bytes | Any | None):
p = {"id": key}
if self.prefs.network_stream_bitrate > 0:
p["maxBitRate"] = self.prefs.network_stream_bitrate
+ if self.prefs.network_stream_format != "":
+ p["format"] = self.prefs.network_stream_format
return self.r("stream", p={"id": key}, get_url=True)
# logging.info(response.content)Such a setting is exposed in Feishin, another player with support for streaming from Subsonic servers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
unconfirmed bugAre you getting this bug too?Are you getting this bug too?