set Vivo and gounlimited as default at def at -g

This commit is contained in:
Markus 2019-08-11 20:15:35 +02:00
parent 90cbeed3ab
commit fa09bb0961
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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 = "",

View File

@ -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 != "")