diff --git a/config-Jellyfin-example.yaml b/config-Jellyfin-example.yaml index 16d1d22..b38ee7c 100644 --- a/config-Jellyfin-example.yaml +++ b/config-Jellyfin-example.yaml @@ -4,9 +4,9 @@ destination_directory: './web' # copy rules copy_rules: - sources: - # add/replace new logos and icons - - source: './img/icon-transparent.png' - target: './icon-transparent*.png' + # add/replace new logos, icons and favicons + - source: './img/icon-transparent.png' # replace existing logo with icon-transparent.png and rename to match existing hashed filename + target: './icon-transparent*.png' # the * is a wildcard to match any hash in the filename - source: './img/banner-light.png' target: './banner-light*.png' - source: './img/banner-dark.png' @@ -21,15 +21,15 @@ copy_rules: - source: './img/notificationicon.png' target: './notificationicon*.png' - - source: './img/favicons_dir' + - source: './img/favicons_dir' # copy whole favicons directory, replace existing files target: './favicons' - mode: 'replace' + mode: 'replace' # replace existing files (and files in directories) - sources: - - './seasonals' # add seasonals files from https://github.com/CodeDevMLH/Jellyfin-Seasonals - - './featured' # add featured iframe files from https://github.com/CodeDevMLH/Jellyfin-Featured-Content-Bar - - './pictures' # add pictures for eg. background on login page + - './seasonals' # add seasonals files from https://github.com/CodeDevMLH/Jellyfin-Seasonals/tree/main/seasonals + - './featured' # add featured iframe files (only spotlight.html, script.js and styles.css are needed) from https://github.com/CodeDevMLH/Jellyfin-Featured-Content-Bar + - './pictures' # add pictures for eg. background on login page for futher use with 'custom css' function in jellyfin - source: './img/background.png' target: './assets/img/background.png' @@ -39,13 +39,13 @@ copy_rules: # modification rules modification_rules: - # modify login page, insert own logo + # modify login page --> insert own logo (you may need to adjust width in px in line 46...) - file_pattern: 'session-login-index-html\.[0-9a-z]+\.chunk\.js$' insert_rules: - after_text: '
'
- # Instancename, Jellyseer I-Frame
+ # Instancename, Seasonals, Jellyseer I-Frame
- file_pattern: 'index.html'
insert_rules:
# add needed seasonals modifications from https://github.com/CodeDevMLH/Jellyfin-Seasonals
@@ -54,7 +54,9 @@ modification_rules:
# Page title and requests tab
- before_text: 're:' # using regex to match the hash
- # replace 'Your Title' with your own title (first row) and 'Request' with your own request tab name (second row)
+ # IMPORTANT: replace 'Your Title' with your own title (first row of insert text, line 60)
+ # IMPORTANT: replace 'Request' with your own request tab name (the name how the Jellyseer tab shuold be named, second row, line 61)
+ # Hint: If you don't want to add the requests tab, just remove the second row of insert_text (line 61) and the corresponding replace_rule (lines 88 and 90-93)
insert_text: >
@@ -64,7 +66,7 @@ modification_rules:
- old_text: '