Check for artist.png when looking for local art.
This commit is contained in:
parent
297e7876f2
commit
f2d21185af
@ -4,4 +4,7 @@ def get_all(path):
|
||||
return [name for name in os.listdir(path) if os.path.isdir(os.path.join(path, name))]
|
||||
|
||||
def has_artist_art(path):
|
||||
return os.path.exists(os.path.join(path, "artist.jpg"))
|
||||
if(os.path.exists(os.path.join(path, "artist.jpg")))or (os.path.exists(os.path.join(path, "artist.png")))
|
||||
return True
|
||||
else:
|
||||
return False
|
Loading…
x
Reference in New Issue
Block a user