mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-28 03:13:58 +00:00
CoverArtImage.maintype defaults to 'front' if is_front is set or no type set
This commit is contained in:
@@ -166,6 +166,8 @@ class CoverArtImage:
|
||||
|
||||
@property
|
||||
def maintype(self):
|
||||
if self.is_front_image() or not self.types:
|
||||
return u'front'
|
||||
return self.types[0]
|
||||
|
||||
def _make_image_filename(self, filename, dirname, metadata):
|
||||
|
||||
Reference in New Issue
Block a user