The combination of getting an artist ID from MusicBrainz that is then used to pull an image from FanArt.TV seems to work.
7 lines
206 B
Python
7 lines
206 B
Python
import os
|
|
|
|
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")) |