Skip to content

Lost Precision Info for Date Fields? #332

Open
@dominiksta

Description

@dominiksta

Hi and thanks for the great work on this amazing library!

I'm hacking on a personal music streaming server and I think I noticed a little shortcoming in the way that DateTimes are handled: When using a tagger such as Picard, the user can set a "date" field without specifying a day or month, e.g. "2019-03" or just "2019". In ATL, "2019-03" will be read as "2019-03-01" with no way to access the actual value afterwards.

I am aware that there is a separate "year" field, but I don't think there is a "month" field in any version of ID3. I also can't seem to find a way to access the raw string values of these fields to implement this myself.

I would personally love to have something like a enum DatePrecision { Year, Month, Day } exposed as DatePrecision, OriginalReleaseDatePrecision and PublishingDatePrecision or something like that.

Am I on the right track here or is there something I'm missing?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions