refactor: Get NAVIDROME_CONTAINER from settings module
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2
main.py
2
main.py
@@ -15,7 +15,7 @@ import hashlib
|
||||
|
||||
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)
|
||||
|
||||
# A dictionary to store the timestamp of when a song was starred.
|
||||
|
||||
Reference in New Issue
Block a user