aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorasuyou <asuyou@users.noreply.github.com>2021-11-01 20:37:53 +0000
committerasuyou <asuyou@users.noreply.github.com>2021-11-01 20:37:53 +0000
commit85140fd4ca1abc8431c1b434579f6ed38d06e2a3 (patch)
treeb328cb747d51624e38d5b8a78b52ec33a5c49cd2 /ui
parentFlipped back around sides of quality and format (diff)
downloadmetube-85140fd4ca1abc8431c1b434579f6ed38d06e2a3.tar.gz
metube-85140fd4ca1abc8431c1b434579f6ed38d06e2a3.tar.bz2
metube-85140fd4ca1abc8431c1b434579f6ed38d06e2a3.zip
Automatically switches to best on format change
Diffstat (limited to 'ui')
-rw-r--r--ui/src/app/app.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts
index 28b9539..ed19618 100644
--- a/ui/src/app/app.component.ts
+++ b/ui/src/app/app.component.ts
@@ -84,6 +84,7 @@ export class AppComponent implements AfterViewInit {
setQualities() {
// qualities for specific format
this.qualities = this.formats.find(el => el.id == this.format).qualities
+ this.quality = "best"
}
addDownload(url?: string, quality?: string, format?: string) {
bgstack15