mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
ID3 desc fields also use unicode strings
The old version *also* silently led to the string "b'foo'" being stored in the frame on Python 3.
This commit is contained in:
parent
30a172fff3
commit
4ddb7cfe9e
1 changed files with 1 additions and 1 deletions
|
|
@ -778,7 +778,7 @@ class MP3DescStorageStyle(MP3StorageStyle):
|
|||
# Try creating a new frame.
|
||||
if not found:
|
||||
frame = mutagen.id3.Frames[self.key](
|
||||
desc=self.description.encode('utf8'),
|
||||
desc=self.description,
|
||||
text=value,
|
||||
encoding=mutagen.id3.Encoding.UTF8,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue