libavformat: Add generic disc_subtitle tag mapping for ID3v2

The mapping is taken from Picard's [1] and taglib's [2] documentation.

The `TSST` frame is part of ID3v2.4.0:
> The 'Set subtitle' frame is intended for the subtitle of the part
> of a set this track belongs to.

[1]: https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#disc-subtitle
[2]: https://taglib.org/api/p_propertymapping.html
This commit is contained in:
Tau Gärtli
2026-04-30 20:48:04 +02:00
parent 0abe230566
commit 752abe97ab
2 changed files with 2 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ const AVMetadataConv ff_id3v2_4_metadata_conv[] = {
{ "TSOA", "album-sort" },
{ "TSOP", "artist-sort" },
{ "TSOT", "title-sort" },
{ "TSST", "disc_subtitle" },
{ "TIT1", "grouping" },
{ 0 }
};

View File

@@ -6,7 +6,7 @@ ID3v2 frame TCOM (18 bytes):|.Anthony Gonzalez.|
ID3v2 frame TCOP (24 bytes):|.2011 M83 Recording Inc.|
ID3v2 frame TDRC (12 bytes):|.2011-10-17.|
ID3v2 frame TPOS (3 bytes):|.1.|
ID3v2 frame TXXX (24 bytes):|.disc_subtitle.Hurry Up.|
ID3v2 frame TSST (10 bytes):|.Hurry Up.|
ID3v2 frame TENC (5 bytes):|.Tau.|
ID3v2 frame TXXX (20 bytes):|.filename.Intro.mp3.|
ID3v2 frame TCON (12 bytes):|.Electronic.|