Support checking if album art is named correctly
This commit is contained in:
parent
78bd62b009
commit
e06bcb895a
|
@ -19,6 +19,10 @@ class Track:
|
||||||
def is_art(self):
|
def is_art(self):
|
||||||
return self.extension in art_extensions
|
return self.extension in art_extensions
|
||||||
|
|
||||||
|
@property
|
||||||
|
def art_named_correctly(self):
|
||||||
|
return self.filename == "cover.jpg"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def filename(self) -> str:
|
def filename(self) -> str:
|
||||||
return self.path.name
|
return self.path.name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user