mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-29 06:25:34 -04:00
Explanation of ISRC edge case
This commit is contained in:
parent
906332e61d
commit
86595984a0
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ class Container(Enum):
|
|||
elif k == "discnumber":
|
||||
text = [(meta.discnumber, meta.album.disctotal)]
|
||||
elif k == "isrc" and meta.isrc is not None:
|
||||
# because ISRC is an mp4 freeform value (not supported natively)
|
||||
# we have to pass in the actual bytes to mutagen
|
||||
# See mutagen.MP4Tags.__render_freeform
|
||||
text = meta.isrc.encode("utf-8")
|
||||
else:
|
||||
text = self._attr_from_meta(meta, k)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue