Skip to content

Invalid reading when record date is presented #452

@tramhao

Description

@tramhao

Reproducer

Firstly I would like to thank for this great project. Before lofty, I use several different packages to read tags from different formats.
I recently met a problem though.

My code to read tags is:
https://github.com/tramhao/termusic/blob/master/lib/src/track.rs

Don't know when this problem happens, but now more than half of my mp3 are not recognized. I read the same file with tageditor and it's all right. The tags are in ID3V2 format. The only difference is, the unsupported file all have record date presented. When I delete this tag in tageditor, save it, it becomes supported all right by lofty. Is it a known bug or my code is wrong? I didn't use this tag in my code actually.

Summary

Passing of ID3V2 with record date tag is not working.

Expected behavior

It should be able to read all tags.

Assets

I cannot upload mp3 files but you can check this with any mp3 files in termusic. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions