Persist adjusted volume (#2997)

Co-authored-by: Deluan Quintão <deluan@navidrome.org>
This commit is contained in:
Matthias Schmidt 2024-05-08 01:21:35 +02:00 committed by GitHub
parent 4d29184998
commit b3d70e9264
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -288,5 +288,6 @@ func (pd *playbackDevice) switchActiveTrackByIndex(index int) error {
return err
}
pd.ActiveTrack = track
pd.ActiveTrack.SetVolume(pd.Gain)
return nil
}