# How to write ID3v2.4 TSST frame?

**URL:** https://community.mp3tag.de/t/how-to-write-id3v2-4-tsst-frame/61269
**Category:** Mac
**Created:** [June 14, 2023, 11:42pm UTC](https://community.mp3tag.de/t/how-to-write-id3v2-4-tsst-frame/61269 "2023-06-14T23:42:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Anguisette](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@Anguisette](https://community.mp3tag.de/u/Anguisette)
#### Post date: [June 14, 2023, 11:42pm UTC](https://community.mp3tag.de/t/how-to-write-id3v2-4-tsst-frame/61269/1 "2023-06-14T23:42:37Z")

</div>

hello,

i'm trying to get mp3tag 1.7.8 (79) to write the ID3v2.4 TSST ('set subtitle') frame to an MP3 file.

i've configured a tag mapping for this from DISCSUBTITLE (which is how i refer to this tag in Vorbis comments):

 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/491dcacade6fbd0170d846964c8f54921e117986.jpeg)

i've configured the tag in the tag panel:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/f/f5d1bf703136442a1bd527000f442021642deae9.png)

i've added the 'Disc Subtitle' tag to a file:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/a/ad2e3f8aebfd9b20157ddd86b20755a8703e6f07.jpeg)

this all _appears_ to be working fine. however, if i inspect the file's tags using Mutagen (a Python music tagging library), it looks like Mp3tag actually wrote the subtitle to a custom frame called 'TXXX:TSST':

```auto
>>> from mutagen.id3 import ID3
>>> a = ID3('Blutengel/2009 - Schwarzes Eis (Limited Edition)/CD1 - Schwarzes Eis/01 - Behind The Mirror.mp3')
>>> a.keys()
dict_keys(['TALB', 'TPE1', 'TPE2', 'TPOS', 'TCON', 'TMED', 'TPUB', 'TIT2', 'TRCK', 'TDRC', 'TXXX:STYLE', 'TXXX:DISCOGS_RELEASE_ID', 'WXXX:', 'TXXX:CATALOGNUMBER', 'TXXX:COUNTRY', 'TXXX:TSST', 'APIC:'])
>>> a["TXXX:TSST"]
TXXX(encoding=<Encoding.UTF8: 3>, desc='TSST', text=['Schwarzes Eis'])

```

how can i make Mp3tag write to the correct TSST frame instead?

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [June 15, 2023, 5:27am UTC](https://community.mp3tag.de/t/how-to-write-id3v2-4-tsst-frame/61269/2 "2023-06-15T05:27:16Z")

</div>

> [@Anguisette](#):
>
> how can i make Mp3tag write to the correct TSST frame instead?

You have to chose the correct Mp3tag-internal field (SETSUBTITLE) in the tag-panel.

---

<div class="post-metadata">

### Author: ![Anguisette](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@Anguisette](https://community.mp3tag.de/u/Anguisette)
#### Post date: [June 15, 2023, 5:36am UTC](https://community.mp3tag.de/t/how-to-write-id3v2-4-tsst-frame/61269/3 "2023-06-15T05:36:36Z")

</div>

aha: i removed the tag mapping, and instead added a tag mapping for DISCSUBTITLE \> SETSUBTITLE and now everything seems to be working fine for both FLAC and MP3 files.

thanks!

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [July 15, 2023, 5:37am UTC](https://community.mp3tag.de/t/how-to-write-id3v2-4-tsst-frame/61269/4 "2023-07-15T05:37:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
