Check for artist.png when looking for local art.

This commit is contained in:
20xd6 2024-09-20 13:58:58 -04:00
parent 297e7876f2
commit f2d21185af

View File

@ -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))] return [name for name in os.listdir(path) if os.path.isdir(os.path.join(path, name))]
def has_artist_art(path): 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