mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
Merge pull request #2897 from rommapp/romm-2889
[ROMM-2889] Add media to update_config_file
This commit is contained in:
@@ -569,6 +569,7 @@ class ConfigManager:
|
||||
"region": self.config.SCAN_REGION_PRIORITY,
|
||||
"language": self.config.SCAN_LANGUAGE_PRIORITY,
|
||||
},
|
||||
"media": self.config.SCAN_MEDIA,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ def get_config() -> ConfigResponse:
|
||||
SCAN_ARTWORK_PRIORITY=cfg.SCAN_ARTWORK_PRIORITY,
|
||||
SCAN_REGION_PRIORITY=cfg.SCAN_REGION_PRIORITY,
|
||||
SCAN_LANGUAGE_PRIORITY=cfg.SCAN_LANGUAGE_PRIORITY,
|
||||
SCAN_MEDIA=cfg.SCAN_MEDIA,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -27,3 +27,4 @@ class ConfigResponse(TypedDict):
|
||||
SCAN_ARTWORK_PRIORITY: list[str]
|
||||
SCAN_REGION_PRIORITY: list[str]
|
||||
SCAN_LANGUAGE_PRIORITY: list[str]
|
||||
SCAN_MEDIA: list[str]
|
||||
|
||||
Reference in New Issue
Block a user