Skip to content
Discussion options

You must be logged in to vote

Those extra keys are written on purpose, by the mediafile library beets uses for tagging, not by your config. For FLAC/Ogg it writes the track number as both TRACK and TRACKNUMBER, and the total as TRACKTOTAL, TRACKC and TOTALTRACKS (same for discs: DISCTOTAL, DISCC, TOTALDISCS). Its docs say it accepts any of the keys and writes all of them so players that disagree on the name still find one. That is also why scrub and zero do not help: they work per beets field, and all of those keys are the same field to beets.

There is no option to switch the duplicates off, but a tiny local plugin can drop them right after beets writes a file:

# ~/.config/beets/plugins/dedupetags.py
import mutagen
from 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chiefy
Comment options

Answer selected by chiefy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants