From fc3691336d568e3fadb31ff05f105b103bf87699 Mon Sep 17 00:00:00 2001 From: Isaac Grynsztein Date: Thu, 27 Feb 2020 01:10:23 -0500 Subject: [PATCH] added allow multi download mode setting frontend implementation --- src/app/main/main.component.html | 2 +- src/app/main/main.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/main/main.component.html b/src/app/main/main.component.html index ead7729..1b0b683 100644 --- a/src/app/main/main.component.html +++ b/src/app/main/main.component.html @@ -50,7 +50,7 @@
Only Audio - Multi-download mode + Multi-download mode diff --git a/src/app/main/main.component.ts b/src/app/main/main.component.ts index ebaa27e..ad4e0f8 100644 --- a/src/app/main/main.component.ts +++ b/src/app/main/main.component.ts @@ -57,6 +57,7 @@ export class MainComponent implements OnInit { fileManagerEnabled = false; allowQualitySelect = false; downloadOnlyMode = false; + allowMultiDownloadMode = false; baseStreamPath; audioFolderPath; videoFolderPath; @@ -200,6 +201,7 @@ export class MainComponent implements OnInit { const backendUrl = result['YoutubeDLMaterial']['Host']['backendurl']; this.fileManagerEnabled = result['YoutubeDLMaterial']['Extra']['file_manager_enabled']; this.downloadOnlyMode = result['YoutubeDLMaterial']['Extra']['download_only_mode']; + this.allowMultiDownloadMode = result['YoutubeDLMaterial']['Extra']['allow_multi_download_mode']; this.baseStreamPath = result['YoutubeDLMaterial']['Downloader']['path-base']; this.audioFolderPath = result['YoutubeDLMaterial']['Downloader']['path-audio']; this.videoFolderPath = result['YoutubeDLMaterial']['Downloader']['path-video'];