From ff9efdc4717823565556a251708e9c219676904f Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 22 Aug 2024 20:50:21 +0600 Subject: [PATCH] api & web: update default audio bitrate to be 128kbps --- api/src/processing/schema.js | 2 +- web/src/lib/settings/defaults.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/processing/schema.js b/api/src/processing/schema.js index 51915b18..8865b030 100644 --- a/api/src/processing/schema.js +++ b/api/src/processing/schema.js @@ -10,7 +10,7 @@ export const apiSchema = z.object({ audioBitrate: z.enum( ["320", "256", "128", "96", "64", "8"] - ).default("256"), + ).default("128"), audioFormat: z.enum( ["best", "mp3", "ogg", "wav", "opus"] diff --git a/web/src/lib/settings/defaults.ts b/web/src/lib/settings/defaults.ts index bf0b11e4..7cb10957 100644 --- a/web/src/lib/settings/defaults.ts +++ b/web/src/lib/settings/defaults.ts @@ -15,7 +15,7 @@ const defaultSettings: CobaltSettings = { reduceTransparency: false, }, save: { - audioBitrate: "256", + audioBitrate: "128", audioFormat: "mp3", disableMetadata: false, downloadMode: "auto",