Add SHOW_PREVIOUS_TRACKS env var, and use in base.html and index.html

This commit is contained in:
scoobybejesus 2022-06-22 21:16:14 -04:00
parent 25b46feac7
commit eb74dc4ae5
3 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,7 @@ timezone = "Europe/Amsterdam"
dir_music = os.environ.get("DIR_MUSIC", os.path.join(cwd, "data", "music"))
enable_search_route = bool_env(os.environ.get("ENABLE_SEARCH_ROUTE", False))
show_previous_tracks = bool_env(os.environ.get("SHOW_PREVIOUS_TRACKS", False))
irc_admins_nicknames = ["dsc_"]
irc_host = os.environ.get('IRC_HOST', 'localhost')