+Tweaks
|
@@ -157,7 +159,8 @@ Configure Messenger `;
data += `
Connecting to WebTV
-
+
+minisrv specific settings
diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js
new file mode 100644
index 00000000..b5f8f4da
--- /dev/null
+++ b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js
@@ -0,0 +1,124 @@
+var minisrv_service_file = true;
+
+
+headers = `200 OK
+Connection: Keep-Alive
+wtv-expire-all: wtv-setup:/tweaks
+Content-Type: text/html`
+
+data = `
+
+
+
+Tweaks and extra configuration
+
+
+
+
+
+|
+ |
+
+ |
+|
+ |
+
+
+
+
+ |
+ |
+ | |
+
+ | |
+ |
+
+ | |
+ |
+
+
+
+
+|
+ |
+
+
+|
+
+Tweaks and extra config
+ |
+ |
+ |
+|
+ |
+
+
+|
+ |
+ |
+|
+ |
+
+|
+ | |
+
+|
+ |
+
+|
+Speeds up the splash logo page
+by not waiting for the splash music to finish.
+ |
+ |
+ |
+
+ |
+|
+ |
+ |
+|
+ |
+
+
+|
+ |
+ |
+|
+ |
+
+
+|
+ |
+ |
+|
+ |
+ |
+
+ |
+ | | | | |
+
+
+`;
\ No newline at end of file
diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js
new file mode 100644
index 00000000..a93a9b0f
--- /dev/null
+++ b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js
@@ -0,0 +1,13 @@
+var minisrv_service_file = true;
+
+
+var fast_splash = wtvshared.parseBool(request_headers.query.fast_splash);
+
+
+session_data.set("fast_splash", fast_splash);
+
+headers = `200 OK
+Connection: Keep-Alive
+wtv-expire-all: wtv-
+wtv-expire-all: http
+Content-Type: text/html`
diff --git a/zefie_wtvp_minisrv/includes/WTVShared.js b/zefie_wtvp_minisrv/includes/WTVShared.js
index 8af0b0f1..60b114d5 100644
--- a/zefie_wtvp_minisrv/includes/WTVShared.js
+++ b/zefie_wtvp_minisrv/includes/WTVShared.js
@@ -86,7 +86,7 @@ class WTVShared {
if (typeof val === 'string')
val = val.toLowerCase();
- return (val === true || val === "true" || val === 1);
+ return (val === true || val == "on" || val === "true" || val === 1);
}
diff --git a/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj b/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj
index 7cd81de4..0de62671 100644
--- a/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj
+++ b/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj
@@ -150,6 +150,7 @@
+
@@ -977,7 +978,7 @@
-
+
@@ -1012,6 +1013,9 @@
Code
+
+ Code
+
@@ -1182,6 +1186,7 @@
+
| |