init
This commit is contained in:
37
config.yaml
Normal file
37
config.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
# config for Jellyfin file modificator for customization
|
||||
start_directory: '.' # Startverzeichnis für die Suche
|
||||
|
||||
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;">'
|
||||
|
||||
# Instancename, Jellyseer I-Frame
|
||||
- file_pattern: 'index.html'
|
||||
insert_rules:
|
||||
- before_text: '<link href="{*}" rel="stylesheet">'
|
||||
insert_text: 'New content to insert'
|
||||
replace_rules:
|
||||
- old_text: '<title>Jellyfin</title>'
|
||||
new_text: '<title>SpaceCloud - Cinema</title>'
|
||||
|
||||
|
||||
|
||||
|
||||
- file_pattern: 'another-file-pattern\.js'
|
||||
insert_rules:
|
||||
- before_text: 'specific-text-to-search-for'
|
||||
insert_text: 'Neuer Inhalt vor dem Zieltext'
|
||||
|
||||
- after_text: 'another-specific-text'
|
||||
insert_text: 'Neuer Inhalt nach dem Zieltext'
|
||||
|
||||
- file_pattern: '\.js$'
|
||||
replace_rules:
|
||||
- old_text: 'const version = '
|
||||
new_text: 'const version = '
|
||||
|
||||
insert_rules:
|
||||
- before_text: 'function initializeApp() {'
|
||||
insert_text: '// Neue Initialisierungsvorbereitungen'
|
||||
Reference in New Issue
Block a user