mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 14:03:12 +01:00
Set album art type attribute to front cover for FLAC
This commit is contained in:
parent
c196f20dfc
commit
c0f97bdc06
1 changed files with 1 additions and 0 deletions
|
|
@ -815,6 +815,7 @@ class ImageField(object):
|
|||
if val is not None:
|
||||
pic = mutagen.flac.Picture()
|
||||
pic.data = val
|
||||
pic.type = 3 # Front cover.
|
||||
pic.mime = self._mime(val)
|
||||
obj.mgfile.add_picture(pic)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue