Fix typo on mpv params placeholder

This commit is contained in:
jeffvli 2023-03-09 13:34:39 -08:00
parent e8dcba0456
commit 8343f4f80b

View file

@ -73,7 +73,7 @@ export const PlaybackTab = () => {
data={[ data={[
{ {
disabled: !isElectron(), disabled: !isElectron(),
label: 'Mpv', label: 'MPV',
value: PlaybackType.LOCAL, value: PlaybackType.LOCAL,
}, },
{ label: 'Web', value: PlaybackType.WEB }, { label: 'Web', value: PlaybackType.WEB },
@ -106,7 +106,7 @@ export const PlaybackTab = () => {
description: 'The location of your mpv executable', description: 'The location of your mpv executable',
isHidden: settings.type !== PlaybackType.LOCAL, isHidden: settings.type !== PlaybackType.LOCAL,
note: 'Restart required', note: 'Restart required',
title: 'Mpv executable path', title: 'MPV executable path',
}, },
{ {
control: ( control: (
@ -115,7 +115,9 @@ export const PlaybackTab = () => {
autosize autosize
defaultValue={mpvParameters} defaultValue={mpvParameters}
minRows={4} minRows={4}
placeholder={'--gapless-playback=yes\n--prefetch-playlist=yes'} placeholder={
'Default parameters (one per line):\n--gapless-audio=weak\n--prefetch-playlist=yes'
}
width={225} width={225}
onBlur={(e) => { onBlur={(e) => {
if (isElectron()) { if (isElectron()) {
@ -142,8 +144,8 @@ export const PlaybackTab = () => {
</Text> </Text>
), ),
isHidden: settings.type !== PlaybackType.LOCAL, isHidden: settings.type !== PlaybackType.LOCAL,
note: 'Restart required', note: 'Restart required.',
title: 'Mpv parameters', title: 'MPV parameters',
}, },
{ {
control: ( control: (