HydrogenAudio

Lossless Audio Compression => WavPack => Topic started by: Rollin on 2021-09-29 18:59:55

Title: Differences in writing embedded pictures between mp3tag and foobar2000
Post by: Rollin on 2021-09-29 18:59:55
When embedding picture(s) into wavpack with mp3tag there is no way to change picture type. mp3tag always marks all pictures as Front Cover. For example i try to embed 2 pictures - artist and cover. It is possible to use "Set cover type", but after saving tags to file, type is reset to Front Cover. As a result, foobar2000 can see only one picture (Front Cover) in such file. wvunpack.exe -ss reports that both embedded pictures are marked as "Cover Art (Front)"
When attaching pictures with fb2k, picture type is set correctly. wvunpack.exe -ss reports that there is picture marked as "Artist Picture" and picture marked as "Cover Art (Front)". But mp3tag can see only one picture (Front Cover) in such file.
In APEv2 specification (https://wiki.hydrogenaud.io/index.php?title=APEv2_specification) i can't find info about how embedded pictures must be marked.
Should behavior of mp3tag be considered as buggy/inavild?
Both variants of files are attached.
Title: Re: Differences in writing embedded pictures between mp3tag and foobar2000
Post by: bryant on 2021-09-29 22:03:40
Thanks for bringing this up! Yes, the behavior of having two tags with the same field name or key is definitely wrong, and is prohibited in the specs. And it confused the tag code in libwavpack by showing the wrong size for the second tag with the same name. I was able to extract both of them by extracting the "first" one, then deleting it (which deletes the same one), then extracting the same name again.

Unfortunately there's no real "authority" on Ape Tag field names. In my specs (https://www.wavpack.com/WavPack5FileFormat.pdf) I specify the rather obvious extension of "Cover Art (Back)", but I'm not sure if I made that up or found it somewhere.

I actually had a related issue with APE tag field names. I was using Foobar2000 Mobile on an iPod Touch and could not get multi-artist albums to show up as one album even though I had "AlbumArtist" set to "Various Artists". Turns out Foobar2000 was looking for "Album Artist" (with no space).
Title: Re: Differences in writing embedded pictures between mp3tag and foobar2000
Post by: DARcode on 2021-10-07 00:57:35
Why not paging Florian (Mp3tag's author)?
Title: Re: Differences in writing embedded pictures between mp3tag and foobar2000
Post by: Rollin on 2021-10-07 19:32:26
I already reported this issue on mp3tag forum - https://community.mp3tag.de/t/invalid-naming-of-embedded-pictures-in-wavpack-files/54604
Title: Re: Differences in writing embedded pictures between mp3tag and foobar2000
Post by: Thundik81 on 2021-10-09 19:53:56
Done!
https://community.mp3tag.de/t/invalid-naming-of-embedded-pictures-in-wavpack-files/54604
Title: Re: Differences in writing embedded pictures between mp3tag and foobar2000
Post by: DARcode on 2021-10-26 23:14:02
Florian's a cool dude, donated a coupla times happily.