Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /osoft.c [5f228a] .. [ae2691] Maximize Restore

  Switch to side-by-side view

--- a/osoft.c
+++ b/osoft.c
@@ -18,7 +18,7 @@
 #define DATATYPE_INT 1
 #define DATATYPE_STRING 2
 
-#define NUMBEROFSETTINGS 28
+#define NUMBEROFSETTINGS 34
 
 #define CGIFILENAME "osoft.cgi"
 #define CONFIGFILENAME "/etc/oggstreamer.cfg"
@@ -247,8 +247,8 @@
 	settings[i].value = "";
 	settings[i].defaultValues = "";
 	settings[i].dataType = DATATYPE_INT;
-	settings[i].description[GERMAN] = "IceCast2-Server Port";
-	settings[i].description[ENGLISH] = "IceCast2-Server port";
+	settings[i].description[GERMAN] = "Server Port";
+	settings[i].description[ENGLISH] = "Server port";
 	settings[i].errorMessage[GERMAN] = "Bitte geben Sie eine gültige Portnummer ein!";
 	settings[i].errorMessage[ENGLISH] = "Please enter a valide port number!";
 	settings[i].dependendChild_ids="";
@@ -275,8 +275,8 @@
 	settings[i].value = "";
 	settings[i].defaultValues = "";
 	settings[i].dataType = DATATYPE_STRING;
-	settings[i].description[GERMAN] = "IceCast2 Username (\"source\" falls kein username verwendet wird)";
-	settings[i].description[ENGLISH] = "IceCast2 username (use \"source\" if no username is used)";
+	settings[i].description[GERMAN] = "Username (\"source\" falls kein username verwendet wird)";
+	settings[i].description[ENGLISH] = "username (use \"source\" if no username is used)";
 	settings[i].errorMessage[GERMAN] = "Bitte geben Sie einen gültigen Usernamen ein!";
 	settings[i].errorMessage[ENGLISH] = "Please enter a valide username!";
 	settings[i].dependendChild_ids="";
@@ -289,10 +289,23 @@
 	settings[i].value = "";
 	settings[i].defaultValues = "";
 	settings[i].dataType = DATATYPE_STRING;
-	settings[i].description[GERMAN] = "IceCast2 Passwort";
-	settings[i].description[ENGLISH] = "IceCast2 password";
+	settings[i].description[GERMAN] = "Passwort";
+	settings[i].description[ENGLISH] = "password";
 	settings[i].errorMessage[GERMAN] = "Bitte geben Sie eine gültiges Passowort ein!";
 	settings[i].errorMessage[ENGLISH] = "Please enter a valide password!";
+	settings[i].dependendChild_ids="";
+    i++;
+	settings[i].parent = "upstreamclient";
+	settings[i].id = "protocol";
+	settings[i].regex = "^(icecast2)|(icecast1)|(shoutcast)$";
+	settings[i].internName = "protocol";
+	settings[i].value = "";
+	settings[i].defaultValues = "icecast2,icecast1,shoutcast";
+	settings[i].dataType = DATATYPE_STRING;
+	settings[i].description[GERMAN] = "Protokoll";
+	settings[i].description[ENGLISH] = "protocol";
+	settings[i].errorMessage[GERMAN] = "Verwendetes Server-Protokoll";
+	settings[i].errorMessage[ENGLISH] = "used server-protocol";
 	settings[i].dependendChild_ids="";
     i++;
 	settings[i].parent = "upstreamclient";
@@ -426,6 +439,76 @@
 	settings[i].errorMessage[GERMAN] = "ungülitge Eingabe!";
 	settings[i].errorMessage[ENGLISH] = "invalid choice!";
 	settings[i].dependendChild_ids="";
+    i++;
+	settings[i].parent = "dyndns";
+	settings[i].id = "ddenabled";
+	settings[i].regex = "(FALSE)|(TRUE)";
+	settings[i].internName = "enabled";
+	settings[i].value = "";
+	settings[i].defaultValues = "";
+	settings[i].dataType = DATATYPE_BOOL;
+	settings[i].description[GERMAN] = "Verwende einen DynDNS Service";
+	settings[i].description[ENGLISH] = "use a DynDNS service";
+	settings[i].errorMessage[GERMAN] = "ungülitge Eingabe!";
+	settings[i].errorMessage[ENGLISH] = "invalid choice!";
+	settings[i].dependendChild_ids="";
+   i++;
+	settings[i].parent = "dyndns";
+	settings[i].id = "dddomain";
+	settings[i].regex = ".+";
+	settings[i].internName = "domain";
+	settings[i].value = "";
+	settings[i].defaultValues = "";
+	settings[i].dataType = DATATYPE_STRING;
+	settings[i].description[GERMAN] = "Domainname";
+	settings[i].description[ENGLISH] = "domainname";
+	settings[i].errorMessage[GERMAN] = "Bitte geben Sie einen gültigen Domain Namen ein!";
+	settings[i].errorMessage[ENGLISH] = "Please enter a valid domainname!";
+	settings[i].dependendChild_ids="";
+
+   i++;
+	settings[i].parent = "dyndns";
+	settings[i].id = "ddusername";
+	settings[i].regex = ".+";
+	settings[i].internName = "username";
+	settings[i].value = "";
+	settings[i].defaultValues = "";
+	settings[i].dataType = DATATYPE_STRING;
+	settings[i].description[GERMAN] = "Username";
+	settings[i].description[ENGLISH] = "username";
+	settings[i].errorMessage[GERMAN] = "Bitte geben Sie einen gültigen Usernamen ein!";
+	settings[i].errorMessage[ENGLISH] = "Please enter a valide username!";
+	settings[i].dependendChild_ids="";
+
+    i++;
+	settings[i].parent = "dyndns";
+	settings[i].id = "ddpassword";
+	settings[i].regex = ".+";
+	settings[i].internName = "password";
+	settings[i].value = "";
+	settings[i].defaultValues = "";
+	settings[i].dataType = DATATYPE_STRING;
+	settings[i].description[GERMAN] = "Passwort";
+	settings[i].description[ENGLISH] = "password";
+	settings[i].errorMessage[GERMAN] = "Bitte geben Sie eine gültiges Passowort ein!";
+	settings[i].errorMessage[ENGLISH] = "Please enter a valide password!";
+	settings[i].dependendChild_ids="";
+    i++;
+	settings[i].parent = "dyndns";
+	settings[i].id = "ddservice";
+	settings[i].regex = "^(dyndns@dyndns.org)|(statdns@dyndns.org)|(customdns@dyndns.org)|(default@freedns.afraid.org)|(default@zoneedit.com)|(default@no-ip.com)|(default@easydns.com)|(dyndns@3322.org)|(default@sitelutions.com)|(default@dnsomatic.com)|(ipv6tb@he.net)|(default@tzo.com)|(default@dynsip.org)|(default@dhis.org)|(default@majimoto.net)|(default@zerigo.com)|(custom@http_svr_basic_auth)$";
+	settings[i].internName = "service";
+	settings[i].value = "";
+	settings[i].defaultValues = "dyndns@dyndns.org,statdns@dyndns.org,customdns@dyndns.org,default@freedns.afraid.org,default@zoneedit.com,default@no-ip.com,default@easydns.com,dyndns@3322.org,default@sitelutions.com,default@dnsomatic.com,ipv6tb@he.net,default@tzo.com,default@dynsip.org,default@dhis.org,default@majimoto.net,default@zerigo.com,custom@http_svr_basic_auth";
+	settings[i].dataType = DATATYPE_STRING;
+	settings[i].description[GERMAN] = "DynDNS Service";
+	settings[i].description[ENGLISH] = "DynDNS service";
+	settings[i].errorMessage[GERMAN] = "DynDNS Service";
+	settings[i].errorMessage[ENGLISH] = "DynDNS service";
+	settings[i].dependendChild_ids="";
+
+
+
 
 }