Fix various mpv setting options

This commit is contained in:
jeffvli 2023-04-03 03:51:41 -07:00
parent 5d8cad06d7
commit e02643123c

View file

@ -156,7 +156,7 @@ export const MpvSettings = () => {
</Stack> </Stack>
), ),
isHidden: settings.type !== PlaybackType.LOCAL, isHidden: settings.type !== PlaybackType.LOCAL,
note: 'Requires restart', note: 'Restart required',
title: 'MPV parameters', title: 'MPV parameters',
}, },
]; ];
@ -259,13 +259,13 @@ export const MpvSettings = () => {
<NumberInput <NumberInput
defaultValue={settings.mpvProperties.replayGainFallbackDB} defaultValue={settings.mpvProperties.replayGainFallbackDB}
width={75} width={75}
onChange={(e) => handleSetMpvProperty('replayGainFallbackDB', e)} onBlur={(e) => handleSetMpvProperty('replayGainFallbackDB', e)}
/> />
), ),
description: description:
'Gain in dB to apply if the file has no replay gain tags. This option is always applied if the replaygain logic is somehow inactive. If this is applied, no other replaygain options are applied', 'Gain in dB to apply if the file has no replay gain tags. This option is always applied if the replaygain logic is somehow inactive. If this is applied, no other replaygain options are applied',
isHidden: settings.type !== PlaybackType.LOCAL, isHidden: settings.type !== PlaybackType.LOCAL,
title: 'ReplayGain fallback', title: 'ReplayGain fallback (dB)',
}, },
]; ];