Be a little less strict on invalid frames

Add iTunes frames and ignore unknown frame only if they are too big
This commit is contained in:
Xavier Henner
2015-07-12 02:02:12 +02:00
parent 334c71001c
commit 05c9a3fa59
2 changed files with 11 additions and 5 deletions
+6
View File
@@ -119,6 +119,7 @@ var id3v23Frames = map[string]string{
"SYTC": "Synchronized tempo codes",
"TALB": "Album/Movie/Show title",
"TBPM": "BPM (beats per minute)",
"TCMP": "iTunes Compilation Flag",
"TCOM": "Composer",
"TCON": "Content type",
"TCOP": "Copyright message",
@@ -152,6 +153,8 @@ var id3v23Frames = map[string]string{
"TRSN": "Internet radio station name",
"TRSO": "Internet radio station owner",
"TSIZ": "Size",
"TSO2": "iTunes uses this for Album Artist sort order",
"TSOC": "iTunes uses this for Composer sort order",
"TSRC": "ISRC (international standard recording code)",
"TSSE": "Software/Hardware and settings used for encoding",
"TYER": "Year",
@@ -209,6 +212,7 @@ var id3v24Frames = map[string]string{
"TALB": "Album/Movie/Show title",
"TBPM": "BPM (beats per minute)",
"TCMP": "iTunes Compilation Flag",
"TCOM": "Composer",
"TCON": "Content type",
"TCOP": "Copyright message",
@@ -246,7 +250,9 @@ var id3v24Frames = map[string]string{
"TRCK": "Track number/Position in set",
"TRSN": "Internet radio station name",
"TRSO": "Internet radio station owner",
"TSO2": "iTunes uses this for Album Artist sort order",
"TSOA": "Album sort order",
"TSOC": "iTunes uses this for Composer sort order",
"TSOP": "Performer sort order",
"TSOT": "Title sort order",
"TSRC": "ISRC (international standard recording code)",