How to tag track number without total tracks

picard
tracknumber
totaltracks
Tags: #<Tag:0x00007fe3d06a7cf8> #<Tag:0x00007fe3d06a7bb8> #<Tag:0x00007fe3d06a7a78>

#1

Hi,

For some reason track number is tagged in the following format:
tracknumber/totaltracks, e.g. 5/12
How can I have Picard tag the track number only?

Thanks


#2

Try unsetting total tracks in your script:

$unset(totaltracks)

The reason is, that the tagging format in question (I think it is only ID3 and Ape tags) expects the total tracks data to be written that way :wink: Other tagging formats do it differently.


#3

I don’t understand what yuou mean by tagging format. MP3Tag doesn’t do it with ID3.
In any case your suggestion worked.
Thank you


#4

If MP3Tag cannot write the total number of tracks that’s an issue of MP3Tag, but the ID3 specification says this can be done in the format Picard does.


#5

Just to not bad mouth MP3Tag, I re-checked and it can do it, but it is not the default :slight_smile: