From eca44aa950f82d518303e11c112267be2437abd0 Mon Sep 17 00:00:00 2001 From: georgekav <> Date: Sun, 19 Feb 2023 21:48:18 +0100 Subject: Add support for opus and wav --- ui/src/app/formats.ts | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'ui/src/app/formats.ts') diff --git a/ui/src/app/formats.ts b/ui/src/app/formats.ts index 7668e49..81afe86 100644 --- a/ui/src/app/formats.ts +++ b/ui/src/app/formats.ts @@ -22,15 +22,6 @@ export const Formats: Format[] = [ { id: 'audio', text: 'Audio Only' }, ], }, - { - id: 'm4a', - text: 'M4A', - qualities: [ - { id: 'best', text: 'Best' }, - { id: '192', text: '192 kbps' }, - { id: '128', text: '128 kbps' }, - ], - }, { id: 'mp4', text: 'MP4', @@ -42,6 +33,15 @@ export const Formats: Format[] = [ { id: '480', text: '480p' }, ], }, + { + id: 'm4a', + text: 'M4A', + qualities: [ + { id: 'best', text: 'Best' }, + { id: '192', text: '192 kbps' }, + { id: '128', text: '128 kbps' }, + ], + }, { id: 'mp3', text: 'MP3', @@ -52,6 +52,20 @@ export const Formats: Format[] = [ { id: '128', text: '128 kbps' }, ], }, + { + id: 'opus', + text: 'OPUS', + qualities: [ + { id: 'best', text: 'Best' }, + ], + }, + { + id: 'wav', + text: 'WAV', + qualities: [ + { id: 'best', text: 'Best' }, + ], + }, { id: 'thumbnail', text: 'Thumbnail', -- cgit