mirror of
https://github.com/nathom/streamrip.git
synced 2024-09-19 11:18:45 -04:00
Tag files with isrc
This commit is contained in:
parent
87987f72d1
commit
5e887ed479
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,7 @@ MP4_KEYS = (
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
|
"---:com.apple.iTunes:ISRC",
|
||||||
)
|
)
|
||||||
|
|
||||||
MP3_KEYS = (
|
MP3_KEYS = (
|
||||||
|
@ -61,6 +62,7 @@ MP3_KEYS = (
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
|
id3.TSRC,
|
||||||
)
|
)
|
||||||
|
|
||||||
METADATA_TYPES = (
|
METADATA_TYPES = (
|
||||||
|
@ -84,6 +86,7 @@ METADATA_TYPES = (
|
||||||
"tracktotal",
|
"tracktotal",
|
||||||
"disctotal",
|
"disctotal",
|
||||||
"date",
|
"date",
|
||||||
|
"isrc",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -170,6 +173,7 @@ class Container(Enum):
|
||||||
"tracknumber",
|
"tracknumber",
|
||||||
"discnumber",
|
"discnumber",
|
||||||
"composer",
|
"composer",
|
||||||
|
"isrc",
|
||||||
}
|
}
|
||||||
if attr in in_trackmetadata:
|
if attr in in_trackmetadata:
|
||||||
if attr == "album":
|
if attr == "album":
|
||||||
|
|
Loading…
Reference in a new issue