add filepath replacement setting (#1402)

This commit is contained in:
jeffvli
2026-01-01 21:46:58 -08:00
parent e406b27170
commit 6aeec1e89c
13 changed files with 594 additions and 165 deletions
+4
View File
@@ -400,6 +400,8 @@ export const GeneralSettingsSchema = z.object({
musicBrainz: z.boolean(),
nativeAspectRatio: z.boolean(),
passwordStore: z.string().optional(),
pathReplace: z.string(),
pathReplaceWith: z.string(),
playButtonBehavior: z.nativeEnum(Play),
playerbarOpenDrawer: z.boolean(),
playerbarSlider: PlayerbarSliderSchema,
@@ -953,6 +955,8 @@ const initialState: SettingsState = {
musicBrainz: true,
nativeAspectRatio: false,
passwordStore: undefined,
pathReplace: '',
pathReplaceWith: '',
playButtonBehavior: Play.NOW,
playerbarOpenDrawer: false,
playerbarSlider: {