Support checking if album art is named correctly

This commit is contained in:
George Lacey 2025-01-18 14:18:32 +00:00
parent 78bd62b009
commit e06bcb895a

View File

@ -19,6 +19,10 @@ class Track:
def is_art(self):
return self.extension in art_extensions
@property
def art_named_correctly(self):
return self.filename == "cover.jpg"
@property
def filename(self) -> str:
return self.path.name