mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Optimization
This commit is contained in:
@@ -11,7 +11,7 @@ def instructions(keys):
|
||||
filterkeys, _, _, _ = KeySplit(keys,forceTrack=True)
|
||||
|
||||
track = filterkeys.get("track")
|
||||
imgurl = getTrackInfo(track["artists"],track["title"]).get("image")
|
||||
imgurl = getTrackInfo(track["artists"],track["title"],fast=True).get("image")
|
||||
pushresources = [{"file":imgurl,"type":"image"}] if imgurl.startswith("/") else []
|
||||
|
||||
data = database.trackInfo(track["artists"],track["title"])
|
||||
|
||||
Reference in New Issue
Block a user