diff --git a/maloja/proccontrol/control.py b/maloja/proccontrol/control.py index 45c96e4..0feed3c 100644 --- a/maloja/proccontrol/control.py +++ b/maloja/proccontrol/control.py @@ -7,6 +7,15 @@ import signal from .setup import setup from . import tasks +from .. import __pkginfo__ as info + +print() +print("#####") +print("Maloja v" + info.versionstr) +print("https://github.com/" + info.author['github'] + "/" + info.links['github']) +print("#####") +print() + def getInstance(): try: diff --git a/maloja/thirdparty/spotify.py b/maloja/thirdparty/spotify.py index 34d83b7..35c6ec1 100644 --- a/maloja/thirdparty/spotify.py +++ b/maloja/thirdparty/spotify.py @@ -42,8 +42,9 @@ class Spotify(MetadataInterface): else: expire = responsedata.get("expires_in",3600) self.settings["token"] = responsedata["access_token"] + log("Successfully authenticated with Spotify") except Exception as e: - log("Error while authenticating with Spotify: " + str(e)) - expire = 3600 + log("Error while authenticating with Spotify: " + repr(e)) + expire = 1200 Timer(expire,self.authorize).start() return True diff --git a/maloja/web/static/css/grisons.css b/maloja/web/static/css/grisons.css index 1b63926..153ad0f 100644 --- a/maloja/web/static/css/grisons.css +++ b/maloja/web/static/css/grisons.css @@ -19,7 +19,7 @@ --ctrl-element-color-focus: gold; --button-color-bg: var(--text-color); - --button-color-bg-focus: var(--focus-color); + --button-color-bg-focus: var(--text-color-focus); --button-color-fg: var(--base-color); --button-color-fg-focus: var(--base-color); }