diff --git a/config-Jellyfin-example.yaml b/config-Jellyfin-example.yaml new file mode 100644 index 0000000..16d1d22 --- /dev/null +++ b/config-Jellyfin-example.yaml @@ -0,0 +1,90 @@ +# target directory for the modified files +destination_directory: './web' + +# copy rules +copy_rules: + - sources: + # add/replace new logos and icons + - source: './img/icon-transparent.png' + target: './icon-transparent*.png' + - 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' + target: './favicons' + mode: 'replace' + + + - 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 + + - 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 + - file_pattern: 'session-login-index-html\.[0-9a-z]+\.chunk\.js$' + insert_rules: + - after_text: '
'
+
+ # Instancename, Jellyseer I-Frame
+ - file_pattern: 'index.html'
+ insert_rules:
+ # add needed seasonals modifications from https://github.com/CodeDevMLH/Jellyfin-Seasonals
+ - before_text: '