mirror of
https://github.com/krateng/maloja.git
synced 2025-04-16 16:52:18 +03:00
Minor UI / output changes
This commit is contained in:
parent
26dfdfb569
commit
29f8c10167
@ -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:
|
||||
|
5
maloja/thirdparty/spotify.py
vendored
5
maloja/thirdparty/spotify.py
vendored
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user