get_artist_art/dir_activities.py
20xd6 d6060c2e61 MVP stage working.
The combination of getting an artist ID from MusicBrainz that is then used to pull an image from FanArt.TV seems to work.
2024-09-20 12:58:58 -04:00

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"))