refactor: Get NAVIDROME_CONTAINER from settings module

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-07 11:51:02 -07:00
parent 264756686b
commit b534efd93b

View File

@@ -15,7 +15,7 @@ import hashlib
import settings import settings
NAVIDROME_CONTAINER = os.environ.get('NAVIDROME_CONTAINER', 'navidrome-navidrome-1') NAVIDROME_CONTAINER = getattr(settings, 'NAVIDROME_CONTAINER', 'navidrome-navidrome-1')
STAR_UNSTAR_WINDOW = timedelta(seconds=4) STAR_UNSTAR_WINDOW = timedelta(seconds=4)
# A dictionary to store the timestamp of when a song was starred. # A dictionary to store the timestamp of when a song was starred.