# target directory for the modified files destination_directory: './web' # copy rules copy_rules: - sources: # 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' target: './banner-dark*.png' - source: './img/favicon_32x32.ico' target: './favicon*.ico' - source: './img/favicon.ico' target: './favicon*.ico' - source: './img/touchicon_180x180.png' target: './touchicon*.png' - source: './img/notificationicon.png' target: './notificationicon*.png' - source: './img/favicons_dir' # copy whole favicons directory, replace existing files target: './favicons' mode: 'replace' # replace existing files (and files in directories) - sources: - './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' - source: './img/logo.png' target: './assets/img/logo.png' mode: 'copy' # copy directories and files # modification rules modification_rules: # 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, Seasonals, Jellyseer I-Frame
- file_pattern: 'index.html'
insert_rules:
# add needed seasonals modifications from https://github.com/CodeDevMLH/Jellyfin-Seasonals
- before_text: '