aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/formats.ts
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2023-03-05 11:43:00 +0200
committerGitHub <noreply@github.com>2023-03-05 11:43:00 +0200
commitf1851bf4aa3b176139183d70841dc7986c02d796 (patch)
treeaf0b76527e8430283ccabf22db1862edd13801ac /ui/src/app/formats.ts
parentupgraded yt-dlp (diff)
parentDefine the audio formats tuple in python backend (diff)
downloadmetube-f1851bf4aa3b176139183d70841dc7986c02d796.tar.gz
metube-f1851bf4aa3b176139183d70841dc7986c02d796.tar.bz2
metube-f1851bf4aa3b176139183d70841dc7986c02d796.zip
Merge pull request #230 from georgekav2/feature/add_vorbis_opus_wav
Add support for opus and wav
Diffstat (limited to 'ui/src/app/formats.ts')
-rw-r--r--ui/src/app/formats.ts32
1 files changed, 23 insertions, 9 deletions
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
@@ -23,15 +23,6 @@ export const Formats: Format[] = [
],
},
{
- id: 'm4a',
- text: 'M4A',
- qualities: [
- { id: 'best', text: 'Best' },
- { id: '192', text: '192 kbps' },
- { id: '128', text: '128 kbps' },
- ],
- },
- {
id: 'mp4',
text: 'MP4',
qualities: [
@@ -43,6 +34,15 @@ export const Formats: Format[] = [
],
},
{
+ id: 'm4a',
+ text: 'M4A',
+ qualities: [
+ { id: 'best', text: 'Best' },
+ { id: '192', text: '192 kbps' },
+ { id: '128', text: '128 kbps' },
+ ],
+ },
+ {
id: 'mp3',
text: 'MP3',
qualities: [
@@ -53,6 +53,20 @@ export const Formats: Format[] = [
],
},
{
+ id: 'opus',
+ text: 'OPUS',
+ qualities: [
+ { id: 'best', text: 'Best' },
+ ],
+ },
+ {
+ id: 'wav',
+ text: 'WAV',
+ qualities: [
+ { id: 'best', text: 'Best' },
+ ],
+ },
+ {
id: 'thumbnail',
text: 'Thumbnail',
qualities: [
bgstack15