add copy/replace files and dirs

This commit is contained in:
MLH
2024-12-09 01:20:07 +01:00
parent 9b175bf983
commit 05f7a3aab9
4 changed files with 255 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ modifications:
- file_pattern: 'session-login-index-html\..*\.bundle\.js'
insert_rules:
- after_text: '<div class="padded-left padded-right padded-bottom-page margin-auto-y">'
insert_text: '<img src="/web/logo.png" width=350px style="padding: 0px;display:block; margin-left: auto; margin-right: auto;">'
insert_text: '<img id="login-logo" src="/web/assets/img/banner-dark.png" width=350px style="padding: 0px;display:block; margin-left: auto; margin-right: auto;">'
# Instancename, Jellyseer I-Frame
- file_pattern: 'index.html'
@@ -16,6 +16,16 @@ modifications:
- old_text: '<title>Jellyfin</title>'
new_text: '<title>SpaceCloud - Cinema</title>'
# Instancename, Jellyseer I-Frame
- 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: 't("maxDaysForNextUp",e.toString(),!1);var t=parseInt(this.get("maxDaysForNextUp",!1),10);return 0===t?0:t||365}}'
new_text: 't("maxDaysForNextUp",e.toString(),!1);var t=parseInt(this.get("maxDaysForNextUp",!1),10);return 0===t?0:t||28}}'
# Default user page size (last number), 99 fits perfect on most desktops
- old_text: 'this.get("libraryPageSize",!1),10);return 0===t?0:t||100}'
new_text: 'this.get("libraryPageSize",!1),10);return 0===t?0:t||99}'