Repository navigation
Description
Describe the bug
Audacity writes double Year and Comment metadata. This does not show in Audacity - but does in other apps (MP3Tag and other player apps)
To Reproduce
Steps to reproduce the behavior:
- purge Audacity settings folder (ensures cleared matadata)
- launch Audacity
- Edit>Metadata
- Observe: empty metadata fields
- record a short piece of audio
- File>Export>Export as MP3
- fill in the metadata fields (see example below)
- press OK to make the export
- exit Audacity
- relaunch Audacity
- Edit metadata
- Observe: metadata fields are empty (expected behavior)
- Import the MP3 fole from stes 6-8
- Edit>Metadata
- Observe: metadata is same as at Step 7 - correct single entries (see image below)
- File>Export>Export as MP3 (to a modified filename)
- Observe: on Export the metatdata is the same as at steps 7 and 15
- Launch Mp3tag
- Examine the two MP3 files
- Observe: both the year filed and the comment fieldd entries are doubled-up, separated with a double backslash, for both MP3 files (see image below)
Expected behavior
Metadata to be handled correctly and consistently.
Screenshots
Step 7 - metadata entered in Audacity

Step 15 - metadata drom imported MP3

Step 20 - MP3tag shows double-year and double-comment

Additional information (please complete the following information):
- OS: Windows 10 - but assume all platforms
- Version Audacity 3.0.4 and latest alpha 3.1.0
Additional context
a) This was originally logged on GitHub by user cubetroniv in December 2019:
year tag gets doubled #401
b) It was logged on Bugzilla (which had primacy for bug tracking at the time as P3 bug 2291
Bug 2291 - Metadata: Exported MP3 shows double year in MP3tag metadata
https://bugzilla.audacityteam.org/show_bug.cgi?id=2291
c) Both these logs were closed because at the time I could not reproduce this
d) The isue resurfaced on the Forum:
https://forum.audacityteam.org/viewtopic.php?f=47&t=116661#p434345
e) This led me to retest - and this time I could find a way to reproduce the users' complaints - so I logged this fresh bug to replace the prvious two logs
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
petersampsonaudacity commentedon Sep 5, 2021
When I load the MP3 from Step 8 into iTunes:
a) I do not get a double entry for the "comment"
b) I get no entry for the Year field
c) I get no entry for the track number field
petersampsonaudacity commentedon Sep 5, 2021
The original GitHub post reported
See: year tag gets doubled #401
JohnColket commentedon Sep 21, 2021
See also related Audacity Issue #1696
LWinterberg commentedon Jul 7, 2022
Improving metadata handling is not planned for the moment, closing for now. There may be a bigger metadata release eventually, follow #1464 for that.