https://bugs.kde.org/show_bug.cgi?id=522965

--- Comment #5 from Urs Fleisch <[email protected]> ---
Thanks for the hex dump.

> It shows me for example 2026-26-20, but the right date is 2026-04-17.

> 000000b0: 7465 6e64 6564 204d 6978 2954 5945 5200  tended Mix)TYER.
> 000000c0: 0000 0500 0000 3230 3236 5444 4154 0000  ......2026TDAT..
> 000000d0: 0005 0000 0032 3032 3654 454e 4300 0000  .....2026TENC...
> 000000e0: 0900 0000 4265 6174 706f 7274 5450 5542  ....BeatportTPUB
> 000000f0: 0000 0015 0000 004e 6f74 6869 6e67 2045  .......Nothing E
> 00000100: 6c73 6520 4d61 7474 6572 7354 5244 4100  lse MattersTRDA.
> 00000110: 0000 0b00 0000 3230 3236 2d30 362d 3236  ......2026-06-26

Here we have TYER=2026 and TDAT=2026, as can be seen in the spec
(https://github.com/taglib/taglib/blob/master/taglib/mpeg/id3v2/id3v2.3.0.txt)

> TDAT
>  The 'Date' frame is a numeric string in the DDMM format containing
>  the date for the recording. This field is always four characters
>  long.
> TYER
>  The 'Year' frame is a numeric string with a year of the recording.
>  This frames is always four characters long (until the year 10000).

this corresponds to a date in YYYY-MM-DD format of 2026-26-20, which is exactly
what Kid3 is reporting. If you want 2026-04-17, TDAT should be "1704", not
"2026".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to