From fa09bb0961f3a8213c6dc453bcef105c25914b88 Mon Sep 17 00:00:00 2001 From: Markus Date: Sun, 11 Aug 2019 20:15:35 +0200 Subject: [PATCH] set Vivo and gounlimited as default at def at -g --- parameterManager.cpp | 1 + parameterManager.h | 2 +- programManager.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/parameterManager.cpp b/parameterManager.cpp index e9c3902..3e80a6b 100644 --- a/parameterManager.cpp +++ b/parameterManager.cpp @@ -286,6 +286,7 @@ void unterOption_default_help(Settings *, char * argv0) << " > Auswahloptionen:" << std::endl << "\t-g [Hoster1,Hoster2,...], --genauer-hoster [Hoster1,Hoster2,...]" << std::endl << "\t -> Die Namen der Hoster, deren Links du willst. Der wichtigste zuerst." << std::endl + << "\t -> Default: Vivo,GoUnlimited" << std::endl << "\t-l [GerDub/GerSub/Eng,...], --languages [GerDub/GerSub/Eng,...]" << std::endl << "\t -> Die Sprache(n) die du willst. Die wichtigsten zuerst. Default: GerDub,GerSub,Eng" << std::endl << std::endl diff --git a/parameterManager.h b/parameterManager.h index caa0b6d..961b401 100644 --- a/parameterManager.h +++ b/parameterManager.h @@ -27,7 +27,7 @@ struct Settings { serienListPath = "/tmp/SerienListe", proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng", - genaueHoster = "", + genaueHoster = "Vivo,GoUnlimited", version = "2.1.1", outputFilePath = "", default_checkDirPath = "", diff --git a/programManager.cpp b/programManager.cpp index 88a9436..72e7869 100644 --- a/programManager.cpp +++ b/programManager.cpp @@ -57,6 +57,7 @@ int ProgramManager::defaultModus(Settings *settings) return 31; } + //Liste alle Dateien in dem Ornder von -C auf und speichere diese std::string dirFiles; if(settings->default_checkDirPath != "")