[Bug]: Volume level doubles attenuation after track transition in playlist
I have already checked through the existing bug reports and found no duplicates
- [x] Yes
App Version
0.21.3-beta.1
Music Server and Version
Navidrome v0.58.0
What local environments are you seeing the problem on?
Desktop Windows
What happened?
When playing a playlist and lowering the volume via the bottom-right slider it works correctly for the current track. However, when a track finishes and the next one starts automatically, the player misinterprets the current volume setting. For example, if the volume is set to 50%, the new track assumes that 50% represents its maximum volume (100%) and then applies the 50% setting again, effectively reducing the output volume to 25%.
Expected behavior: The volume slider should consistently apply the set volume level to each track, without compounding attenuation across automatic track transitions.
Additional notes:
Issue has been present since at least version 0.20.
Likely related to how volume is handled during automatic track transitions.
Steps to reproduce
-
Open Feishin
-
Play a playlist.
-
Adjust the volume using the bottom-right slider (e.g., set to 50%).
-
Allow the current track to finish and the next track to start automatically.
-
Observe that the next track plays at a lower volume than expected.
Relevant log output
I can confirm that. Thanks for raising that issue. First time I tried to control the volume via the Feishin slider, it started to drive me crazy trying to debug what exactly was wrong (I had apparently always used 100% volume in app before). I even downgraded to 0.19 with no luck (same on Linux).
Allow the current track to finish and the next track to start automatically.
It's even easier to notice with Crossfade. It drops the volume at the start of the fade (N-seconds before the end of the track, based on your settings).
Could you check out this PR, I should have fixed this, most noticable with crossfade
https://github.com/jeffvli/feishin/pull/1223