Opened 15 years ago

Closed 15 years ago

#6403 closed defect (fixed)

Flac and vorbis metadata reader do not read DATE=YYYY-MM-DD fields correctly

Reported by: sub@… Owned by: stuartm
Priority: minor Milestone: unknown
Component: Plugin - MythMusic Version: 0.21-fixes
Severity: medium Keywords: metadata flac ogg
Cc: Ticket locked: no

Description

I've noticed that .ogg and .flac files that have a DATE field value with more than just a year (e.g. DATE=2008-09-01) are not read correctly. The year field in the db just shows 0.

According to the vorbis comment documentation that I have found, the DATE field may contain a ISO 8601 formatted date or time followed by a space followed by any text.

I would settle just to get the first four characters read as the year though.

See also:

Attachments (2)

mythmusic.patch (2.3 KB) - added by sub@… 15 years ago.
Patch to read only up to the fourth character of the DATE comment
mythmusic_trunk_r20321.patch (2.1 KB) - added by dslattery 15 years ago.
Patch for mythmusic in trunk to improve parsing of the date comment in ogg and flac metadata

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by sub@…

Attachment: mythmusic.patch added

Patch to read only up to the fourth character of the DATE comment

Changed 15 years ago by dslattery

Patch for mythmusic in trunk to improve parsing of the date comment in ogg and flac metadata

comment:1 Changed 15 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [20804]) Fix for retrieving year from flac and ogg files where a full ISO date was stored. Patch from D.Slattery. Closes #6403

Note: See TracTickets for help on using tickets.