Processing Files From OpenAudible with mp3tag

I'm working on a panel and some actions for processing audiobooks that have been downloaded and converted using OpenAudible with mp3tag. Overall, it's working well but one issue I'm having is the ASIN value.

If I look at the m4b OpenAudible produces with mediainfo, the ASIN is stored as "CDEK" but mp3tag doesn't seem to be able to see it. If I examine one of the m4b's with ffprobe, it doesn't seen that field either.

The mapping documentation for mp3tag talks about iTunes MP4 tags, and I tried using that notation but that doesn't work either. Obviously mediainfo may not be showing me what the full tag reference actually is.

Can anyone help me or point me in the right direction?

Right now I drag the m4b to mediainfo and copy and paste the ASIN out of that.

I don't want to use a web service lookup for a few reasons: 1) Some of the titles I own are out of print and don't show up that way. 2) Some of the titles I own have been reissued with new narrators so the ASIN found on the website will not match my copy. 3) The information is already local, there has to be a way to get mp3tag to read it somehow. :slight_smile:

Windows 10 Enterprise
mp3tag v3.29
mediainfo 25.04
openaudible 4.53

have you checked the extended tags dialogue Alt-T for a file that has an embedded ASIN?

Does not show up with extended tags.

The demo version of OpenAudible unfortunately doesn't support converting to M4B and I don't feel like purchasing a license today.

I've sent you a link to a private upload URL where you can upload an example file in case you want me to analyze this further.

Thanks for looking into this! I picked the smallest one I had.

Thank you for the example file. It seems that OpenAudible is writing a CDEK MP4 atom (not a user-defined field named CDEK).

MediaInfo shows the raw identifier for MP4 atoms it doesn't directly support -- a feat unfortunately not supported by Mp3tag, which means that there is no way of reading that information via Mp3tag.

Is this something you need to do whenever you buy a new audiobook or are you currently in the process of converting your whole library?

Right now I'm converting my library (722 books, well 690ish to go).

You can try kid3, which is an open-source tagger and also supports raw MP4 atoms. There you can use File > Export... with Tracks set to %{CDEK} and Source set to Tag 2 (whichever shows the ASINs in the preview).

Choose To File... and in Mp3tag use Convert > Text File - Tag to import the data using %ASIN% as format string.

Alternatively, which I just found out after trying everything from above, you can also copy from CDEK to ASIN in kid3 via File > Import from Tags... using these settings:

Thanks! I'll look into that tool!

This issue for AudioBookShelf also mentions SNRM series and SRSQ series-part, by the way.

I'm not worried about those. Audible makes mistakes often with series order (too often) so I have a panel entry for those.