yermak / AudioBookConverter

Improved AudioBookConverter based on freeipodsoftware release (mp3 to m4b converter)
GNU General Public License v2.0
726 stars 46 forks source link

Make audio file metadata compatible with Audiobookshelf #382

Open user2223 opened 2 years ago

user2223 commented 2 years ago

There is a relatively new tool for managing audiobooks which uses the id3 tags a little bit different than AudioBookConverter. You can check the Documentation for more information: https://www.audiobookshelf.org/docs/#book-audio-metadata

I think that it would be a really nice feature to set these tags according to their scheme right inside AudioBookConverter instead of using Mp3Tag for each file. The feature could be optional like checking a checkbox to use Audiobookshelf's Tags instead of how it is right now.

yermak commented 2 years ago

That's an interesting idea. However, tags currently targeted to be compatible with iTunes and Books app on iOS, however, good solution could be using ODF files as documentation suggests. So, audiobookshelf will pick up the meta information from file.

If you have an OPF file with extension .opf in the library item folder it will be parsed. Details extracted from OPF: title, author, narrator, publishYear, publisher, isbn, description, genres, language, series, volumeNumber

Ash258 commented 2 years ago

Would be possible to have the ability to specify custom additional tags?

That would make it still compatible with iTunes/Books (current, default) and satisfy special needs if needed.

It would require configuring these tag IDs in some config files and then rendering them in UI. Ideally in the new tab next to the Book info:

image

Then we could add this:

// File AdditionalTagIDs.ini
subtitle
publisher
description
series
series-part
language
isbn
asin

And in UI:

New Project

Or just simple mapper of additional tags in first iteration.

series=album
description=comment

Providing updated URL for audiobookshelf wiki https://www.audiobookshelf.org/docs/#book-audio-metadata

NicholasConrad commented 8 months ago

Instead of setting one schema or another, could it be customizable? I bought the steam version only to discover the tags on the output files are incompatible with the next step in my import workflow and I have to manually re-tag every file by hand to get them picked up by filebot (which I use to push them into the correct folder/filename format for Audiobookshelf BTW). If we had an ability to specify a root folder and dynamic subfolder/filename output, I could cut filebot out of my workflow too.