Skip to content

Commit

Permalink
fix(legacy): replay_gain_modifier should be a system preference (#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Feb 8, 2024
1 parent 3b353ec commit 37d1a76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/releases/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Please follow this **before the upgrade procedure**.

## :arrow_up: Upgrading

### Replay gain modifier preference

The `replay_gain_modifier` preference is now stored as system preference. Please check and save the replay gain modifier preference manually to make sure the preference is up to date and usable.

## :warning: Known issues

The following issues may need a workaround for the time being. Please search the [issues](https://github.com/libretime/libretime/issues) before reporting problems not listed below.
Expand Down
2 changes: 1 addition & 1 deletion legacy/application/models/Preference.php
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ public static function getReplayGainModifier()

public static function setReplayGainModifier($rg_modifier)
{
self::setValue('replay_gain_modifier', $rg_modifier, true);
self::setValue('replay_gain_modifier', $rg_modifier, false);
}

public static function SetHistoryItemTemplate($value)
Expand Down

0 comments on commit 37d1a76

Please sign in to comment.