feat: sync catalog, server, and MusicFree updates

This commit is contained in:
2026-07-16 18:43:22 +08:00
parent 069af30dba
commit e9bb3df906
58 changed files with 4409 additions and 206 deletions
@@ -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"),