From ee0fcc39937ce0598329ce246c17947ec7cac7fd Mon Sep 17 00:00:00 2001 From: Alex Shnitman Date: Mon, 13 Sep 2021 20:25:32 +0300 Subject: allow selecting MP4 in the GUI --- ui/src/app/downloads.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/src/app/downloads.service.ts') diff --git a/ui/src/app/downloads.service.ts b/ui/src/app/downloads.service.ts index 5fd3b5a..e0db252 100644 --- a/ui/src/app/downloads.service.ts +++ b/ui/src/app/downloads.service.ts @@ -80,8 +80,8 @@ export class DownloadsService { return of({status: 'error', msg: msg}) } - public add(url: string, quality: string) { - return this.http.post('add', {url: url, quality: quality}).pipe( + public add(url: string, quality: string, format: string) { + return this.http.post('add', {url: url, quality: quality, format: format}).pipe( catchError(this.handleHTTPError) ); } -- cgit