feat: sync catalog, server, and MusicFree updates
This commit is contained in:
@@ -28,6 +28,7 @@ class Settings:
|
||||
admin_password_hash: str
|
||||
secret_encryption_key: str
|
||||
cache_reconcile_interval_seconds: int
|
||||
stream_token_ttl_seconds: int
|
||||
musicfree_version_json_path: str
|
||||
musicfree_apk_path: str
|
||||
|
||||
@@ -78,6 +79,10 @@ def get_settings() -> Settings:
|
||||
"MUSIC_SERVER_CACHE_RECONCILE_INTERVAL_SECONDS",
|
||||
600,
|
||||
),
|
||||
stream_token_ttl_seconds=_env_int(
|
||||
"MUSIC_SERVER_STREAM_TOKEN_TTL_SECONDS",
|
||||
3600,
|
||||
),
|
||||
musicfree_version_json_path=os.getenv(
|
||||
"MUSICFREE_VERSION_JSON",
|
||||
str(musicfree_release_dir / "version.json"),
|
||||
|
||||
Reference in New Issue
Block a user