From 00e385cdbea66202e7e78b188b6afabad57a450a Mon Sep 17 00:00:00 2001 From: zefie Date: Mon, 4 May 2026 08:38:22 -0400 Subject: [PATCH] various fixups, allow FTP max size config --- .../ServiceVault/wtv-author/documents.js | 6 ++-- .../ServiceVault/wtv-flashrom/get-lc2-page.js | 4 ++- zefie_wtvp_minisrv/includes/classes/WTVFTP.js | 2 +- zefie_wtvp_minisrv/includes/config.json | 1 + zefie_wtvp_minisrv/tools/encode_webtv_mpeg.js | 30 ++++++------------- 5 files changed, 18 insertions(+), 25 deletions(-) diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-author/documents.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-author/documents.js index f18fc4f6..0a5a758a 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-author/documents.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-author/documents.js @@ -197,10 +197,12 @@ if (minisrv_config.services["wtv-author"].max_pages) {

A maximum of ${minisrv_config.services["wtv-author"].max_pages} pages can be created, regardless of publish status.

-Your published pages are available at
+` +if (numofpages > 0) { +`Your published pages are available at
http://${site}/${session_data.getSessionData("subscriber_username")}/ ` - +} } data += `