# Zielverzeichnis für Operationen destination_directory: './web' # Kopierregeln copy_rules: - sources: - source: './img/icon-transparent.png' target: './assets/img/icon-transparent.png' - source: './img/banner-light.png' target: './assets/img/banner-light.png' - source: './img/banner-dark.png' target: './assets/img/banner-dark.png' - source: './img/bc8d51405ec040305a87.ico' target: './bc8d51405ec040305a87.ico' - source: './img/favicon.ico' target: './favicon.ico' mode: 'replace' # Überschreibt vorhandene Dateien/Ordner - sources: - './seasonals' - './ui' - './pictures' - source: './img/background.png' target: './assets/img/background.png' - source: './img/logo.png' target: './assets/img/logo.png' - source: './img/favicon.png' target: './assets/img/favicon.png' mode: 'copy' # Kopiert Dateien/Ordner # Modifikationsregeln modification_rules: - file_pattern: 'session-login-index-html..*.chunk.js' insert_rules: - after_text: '
' insert_text: '' # Instancename, Jellyseer I-Frame - file_pattern: 'index.html' insert_rules: # Seasonals - before_text: '' insert_text: '
' # Page title and requests tab - before_text: '' insert_text: > replace_rules: # Page title - old_text: 'Jellyfin' new_text: 'SpaceCloud - Cinema' # 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$' 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}}' new_text: 'this.set("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}' - file_pattern: 'home-html..*.chunk.js' insert_rules: # featured iframe and requests iframe style - after_text: 'data-backdroptype="movie,series,book">' insert_text: > # request tab on main page - after_text: 'id="favoritesTab" data-index="1">
' insert_text: '
'