mp3agic icon indicating copy to clipboard operation
mp3agic copied to clipboard

Support for TXXX Frames

Open Hannes-III opened this issue 10 years ago • 4 comments

Hi, I am missing Support for User defined text information frames in mp3agic. I am using Amarok and it stores FMPS_Playcount, FMPS_Rating and some strange FMPS_Rating_Amarok_Score in my Files. I would like to access this information in my Java Program and have already managed to get this Information in mp3agic but there is no way how this could should fit into the Structure of mp3agic. In the Frameset you already store the different entries with the Same ID 'TXXX' but the Data cannot be accessed. First I thought, that when unpacking the Frame, that its ID should be set to 'TXXX:whatever'. But the Problem is, that 'whatever', the Description of the User Defined Information is in the Same encoding as the Value and therefor should not be mixed with the ID. Have you ever thought of how this should be implemented. I would work it out according to what we agree.

My experience in interpreting those byte[] according to the Specs of http://id3.org/id3v2.3.0#User_defined_text_information_frame is very low and I am sure that I will need your support for that implementation, but I would be glad If I could contribute to the Project.

Hannes-III avatar Mar 07 '14 09:03 Hannes-III

@Hannes-III You can use extractAll/extract methods in the pull request code. You can query of the TXXX field name (:whatever) using the 'd' parameter.

Code0987 avatar Apr 05 '17 20:04 Code0987

This was long ago that I was working on that thing. I even do not remember what I wanted to do. But thank you, it's good to know that now it would work.

Should I chose it, because it is resolved?

Hannes-III avatar Apr 06 '17 09:04 Hannes-III

@Hannes-III Yes, you can close it now.

Code0987 avatar Apr 07 '17 07:04 Code0987

This issue can get closed when the pull request from @Code0987 was merged into master.

hennr avatar Apr 10 '17 20:04 hennr