Commit 4ecf21e6 authored by Deion Menor's avatar Deion Menor

Modify navbar and search result style

parent 9690e6f1
......@@ -9,11 +9,11 @@ def init():
musicbrainzngs.set_useragent("mymusiclist","0.1", contact="none")
musicbrainzngs.set_rate_limit(limit_or_interval=False, new_requests=1)
print("[Exthook] Initialized")
def verifyAlbumArt(album, artist):
if(album.art == None):
album.art = fetchAlbumArt(album.album_name, artist)
album.save()
album.save()
#may or may not add checks to see if valid http link
def fetchAlbumArt(name, artist):
......@@ -34,4 +34,4 @@ def fetchAlbumArt(name, artist):
return imagelist['images'][0]['thumbnails']['large']
def debug(string):
print("[Exthook] " + string)
\ No newline at end of file
print("[Exthook] " + string)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment