diff --git a/config/interface.cfg b/config/interface.cfg deleted file mode 100644 index d88f68c..0000000 --- a/config/interface.cfg +++ /dev/null @@ -1,12 +0,0 @@ -[SYSTEM] -; Enter the Type of your Program- Please use just "P" for LoxBerry Plugin, "E" for et. Program -TYPE=P - -; Enter package name of your Logging to pass log entries to your Plugin/Program -PLUGINDB_NAME=Text2Speech - -; Enter filename of your Plugin Logfile if you would like to pass logging info to your Plugin Logfile -NAME_LOGFILE=text2speech.log - -; enter URL if you would like to receive outbound info via POST Request instead of JSON file -URL= diff --git a/config/tts_all.cfg b/config/tts_all.cfg index 5e33018..698dea2 100644 --- a/config/tts_all.cfg +++ b/config/tts_all.cfg @@ -21,7 +21,6 @@ API-key=12345678901234567890 [SYSTEM] path=REPLACELBPDATADIR card= -LOGLEVEL=3 [LOCATION] googlestreet= diff --git "a/data/mp3/100_T\303\274rklingel 3x.mp3" b/data/mp3/100_Tuerklingel 3x.mp3 similarity index 100% rename from "data/mp3/100_T\303\274rklingel 3x.mp3" rename to data/mp3/100_Tuerklingel 3x.mp3 diff --git a/data/tts/2_Airport_gong.mp3 b/data/tts/2_Airport_gong.mp3 deleted file mode 100644 index 64501c2..0000000 Binary files a/data/tts/2_Airport_gong.mp3 and /dev/null differ diff --git a/webfrontend/html/helper.php b/webfrontend/html/helper.php index a117259..71fe94f 100644 --- a/webfrontend/html/helper.php +++ b/webfrontend/html/helper.php @@ -197,7 +197,7 @@ function create_symlinks() { LOGGING("Symlink: '".$lbphtmldir.'/interfacedownload'."' has been created", 7); } if ($copy === true) { - LOGGING("Copy existing mp3 files from $myFolder/$mp3folder to $symcurr_path/$mp3folder", 6); + #LOGGING("Copy existing mp3 files from $myFolder/$mp3folder to $symcurr_path/$mp3folder", 6); xcopy($myFolder."/".$mp3folder, $symcurr_path."/".$mp3folder); LOGGING("All files has been copied from: '".$myFolder."/".$mp3folder."' to: '".$symcurr_path."/".$mp3folder."'", 5); } diff --git a/webfrontend/html/output/interface.php b/webfrontend/html/output/interface.php index 4bb01ee..811de30 100644 --- a/webfrontend/html/output/interface.php +++ b/webfrontend/html/output/interface.php @@ -1,6 +1,6 @@ jquery in index.html // syntax wizard -// interfacefolder is only available post saving --> issue: after updating Plugin the folder 'interfacefolder' is not available ini_set('max_execution_time', 90); // Max. Skriptlaufzeit auf 90 Sekunden @@ -85,7 +83,7 @@ create_symlinks(); LOGGING("Config has been successfull loaded",6); - # wählt Sprachdatei für hinterlegte Texte für add-on's + # wählt Sprachdatei für hinterlegte Texte der Add-on's $t2s_langfile = "t2s-text_".substr($config['TTS']['messageLang'],0,2).".ini"; // language file for text-speech LOGGING("All variables has been collected",6); $soundcard = $config['SYSTEM']['card']; @@ -105,7 +103,7 @@ } # Volume prozentual für sox (1=100%) $volume = $volume / 100; - $multilog = get_interface_config(); + #$multilog = get_interface_config(); #print_r($multilog); @@ -130,11 +128,7 @@ LOGGING("T2S Interface ** JSON is set and will be processed!", 6); # Deklaration der variablen $text = $_GET['text']; - if (isset($_GET['greet'])) { - $greet = $_GET['greet']; - } else { - $greet = ""; - } + isset($_GET['greet']) ? $greet = $_GET['greet'] : $greet = " "; } else { create_tts(); }