From 088624b876aee9117dc2de3b2be60893c17b6b14 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Thu, 25 Sep 2025 23:47:31 +0200 Subject: [PATCH] fix configs --- config-testserver.yaml | 17 ++++++++--------- config.yaml | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/config-testserver.yaml b/config-testserver.yaml index dbd6fa3..4c5bb3b 100644 --- a/config-testserver.yaml +++ b/config-testserver.yaml @@ -5,13 +5,13 @@ destination_directory: './web' copy_rules: - sources: - './seasonals' - - './ui' + - './featured' - './pictures' mode: 'copy' # Kopiert Dateien/Ordner # Modifikationsregeln modification_rules: - - file_pattern: 'session-login-index-html..*.chunk.js' + - file_pattern: 'session-login-index-html\.[0-9a-z]+\.chunk\.js$' insert_rules: - after_text: '
' insert_text: '' @@ -24,19 +24,18 @@ modification_rules: insert_text: '
' # Page title and requests tab - - before_text: '' + - before_text: 're:' insert_text: > - + - + replace_rules: # Page title - old_text: 'Jellyfin' new_text: 'Your Title' # Instancename, Jellyseer I-Frame - #- file_pattern: 'main.jellyfin.bundle.js' # would also match 'home-html.123456.chunk.js.LICENSE.txt' - - file_pattern: '^main.jellyfin.bundle.js$' #file_pattern: '^main\.jellyfin\.bundle\.js$' + - file_pattern: '^main\.jellyfin\.bundle\.js$' replace_rules: # Set limit on how many days items should be in the next up section (last number) - old_text: 'this.set("maxDaysForNextUp",e.toString(),!1);var t=parseInt(this.get("maxDaysForNextUp",!1),10);return 0===t?0:t||365}}' @@ -48,12 +47,12 @@ modification_rules: - - file_pattern: 'home-html..*.chunk.js' + - file_pattern: 'home-html\.[0-9a-z]+\.chunk\.js$' insert_rules: # featured iframe and requests iframe style - after_text: 'data-backdroptype="movie,series,book">' insert_text: > - + # request tab on main page diff --git a/config.yaml b/config.yaml index d12ba60..cf7c215 100644 --- a/config.yaml +++ b/config.yaml @@ -59,7 +59,7 @@ modification_rules: new_text: 'SpaceCloud - Cinema' # Instancename, Jellyseer I-Frame - - file_pattern: '^main\.jellyfin\.bundle\.js$' #file_pattern: '^main\.jellyfin\.bundle\.js$' + - file_pattern: '^main\.jellyfin\.bundle\.js$' replace_rules: # Set limit on how many days items should be in the next up section (last number) - old_text: 'this.set("maxDaysForNextUp",e.toString(),!1);var t=parseInt(this.get("maxDaysForNextUp",!1),10);return 0===t?0:t||365}}'