Open jamesyoungman opened 3 years ago
I know this is an older issue, but I wanted to chime in on this.
It's definitely not an uncommon use-case. ototoy, for example, tags all their flacs with the %n/%x
format for TRACKNUMBER
. Also, it's common for vinyl recordings to be tagged with A1
or B1
as the TRACKNUMBER
.
The vorbis comment spec does not specify that any of the fields need to be in a specific format, or that TRACKNUMBER
should be an integer.
It might be complicated to change the return type of tag.track_number
, but I think it makes sense for the tool to support what appears to be a common tag format.
I have FLAC files which look like this:
audiotags's call to track_number() returns None in this case. I would prefer if it returnes Some(2).
My understanding is that this use of TRACKNUMBER may be non-standard but it's not uncommon. A number of other tools (easytags, for example) work successfully with files like this.