mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
api/schema: add 8bkps audio bitrate option
This commit is contained in:
parent
49184a235d
commit
42ff874c95
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue