diff --git a/api/src/processing/schema.js b/api/src/processing/schema.js index ed234e16..51915b18 100644 --- a/api/src/processing/schema.js +++ b/api/src/processing/schema.js @@ -9,7 +9,7 @@ export const apiSchema = z.object({ .transform((url) => normalizeURL(decodeURIComponent(url))), audioBitrate: z.enum( - ["320", "256", "128", "96", "64"] + ["320", "256", "128", "96", "64", "8"] ).default("256"), audioFormat: z.enum( diff --git a/web/src/lib/types/settings.ts b/web/src/lib/types/settings.ts index d52f3d77..4e8d0fb8 100644 --- a/web/src/lib/types/settings.ts +++ b/web/src/lib/types/settings.ts @@ -2,7 +2,7 @@ import languages from '$i18n/languages.json'; import type { RecursivePartial } from './generic'; export const themeOptions = ["auto", "light", "dark"] as const; -export const audioBitrateOptions = ["320", "256", "128", "96", "64"] as const; +export const audioBitrateOptions = ["320", "256", "128", "96", "64", "8"] as const; export const audioFormatOptions = ["best", "mp3", "ogg", "wav", "opus"] as const; export const downloadModeOptions = ["auto", "audio", "mute"] as const; export const filenameStyleOptions = ["classic", "basic", "pretty", "nerdy"] as const;