Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2025, 02:11 AM   #1
PetrusV
Enthusiast
PetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tongue
 
Posts: 28
Karma: 22198
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
Audiobook Metadata Plugins for Calibre

I couldn't find a plugin that could handle all the metadata features I wanted for audiobooks, so I expanded on Artur Kupiec's excellent audiobook metadata plugin (https://github.com/akupiec/calibre_p...obook-metadata) and created a companion GUI plugin for reprocessing existing audiobooks.

These plugins requires Calibre version 7.0.0 or above to function correctly.

Both plugins support the following audio formats: m4b, m4a, mp3, ogg, opus, flac, wma, mp4, and aiff.

Plugin 1: Import Audiobooks Metadata (Import Plugin)

Description: This expanded version of the original plugin automatically imports metadata when adding new audiobooks to Calibre.

Version: 0.2.7

Released: January 09, 2025

Minimum Calibre Version:
7.0

Platforms: Windows, Linux, macOS

Author: Artur Kupiec, expanded by Petrus Vermaak

History: Initial release for the expanded version.

Supported Formats: m4b, m4a, mp3, ogg, opus, flac, wma, mp4, aiff

Features:
  1. Automatically processes metadata when adding new audiobooks
  2. Extracts and imports:
    • Title (removes common suffixes like "Unabridged" and "Audiobook")
    • Authors (combines album artist, artist, and composer fields intelligently)
    • Publication year
    • Cover image
    • Copyright information
    • Genre tags
    • Comments/description
    • Duration (requires custom column setup)
  3. Robust error handling and validation
  4. Fallback to ffprobe for duration if the primary method fails
  5. Prevents duplicate author entries while maintaining proper order


Plugin 2: Fetch Audio Meta (GUI Plugin)

Description: This new companion plugin adds a graphical interface for updating metadata of audiobooks already in your Calibre library.

Version: 0.1.22

Released: January 09, 2025

Minimum Calibre Version:
7.0

Platforms: Windows, Linux, macOS

Author: Petrus Vermaak

History: Initial release for the expanded version.

Supported Formats: m4b, m4a, mp3, ogg, opus, flac, wma, mp4, aiff

Features:
  1. Select multiple books to process at once
  2. Choose which metadata fields to update:
    • Title
    • Authors
    • Duration
    • Year
    • Genre
    • Comments
    • Cover Image
  3. Visual progress tracking with percentage complete
  4. Detailed error reporting for any issues encountered
  5. Preserves existing metadata for unselected fields

Important Note: To use the duration feature in either plugin, you must first create a custom column in Calibre:
  1. Go to Preferences → Add your own columns
  2. Create a new custom column with the following settings:
    • Type: Text
    • Heading: Duration
    • Column name: duration
    • Description: Audiobook duration in HH:MM:SS format

The plugins will then automatically populate this column with the audiobook's duration when importing or updating metadata.

Both plugins handle errors gracefully and provide feedback if any metadata fields couldn't be read or if files are damaged/unsupported. The GUI plugin particularly makes it easy to batch update metadata and see exactly what was updated or if any issues occurred during processing.

Support the Development
If you’ve found this plugin helpful and would like to support its development, consider buying me a coffee! Your support helps keep this project going and encourages future updates.
Donate via PayPal
Thank you for your generosity!
Attached Files
File Type: zip audiobook_metadata_import_0.2.7.zip (55.6 KB, 294 views)
File Type: zip audiobook_metadata_gui_0.1.22.zip (77.5 KB, 297 views)

Last edited by PetrusV; 01-23-2025 at 11:53 PM.
PetrusV is offline   Reply With Quote
Old 01-15-2025, 08:28 AM   #2
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,014
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Nice! Thank you. Have you considered indexing your plugin?
PoP is offline   Reply With Quote
Old 01-19-2025, 10:34 AM   #3
PetrusV
Enthusiast
PetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tongue
 
Posts: 28
Karma: 22198
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
OK submitted

Last edited by PetrusV; 01-24-2025 at 12:03 AM.
PetrusV is offline   Reply With Quote
Old 01-26-2025, 07:54 PM   #4
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 825
Karma: 409968
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
Testing the plugin I have all the data complete, but this error appears when selecting all the items. If I only select duration there is no error.
My question is, apart from the duration column, should I create the year and comment columns? Or is it a language issue?

calibre, version 7.24.0
ERROR: Processing Complete with Errors: The following errors occurred:

Missing metadata:
• El Miserere by Gustavo Adolfo Bécquer - Could not read selected metadata (year, genre, comments) - The file may be missing these tags
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	129
Size:	148.7 KB
ID:	213290  
dunhill is offline   Reply With Quote
Old 01-27-2025, 11:15 PM   #5
PetrusV
Enthusiast
PetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tongue
 
Posts: 28
Karma: 22198
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
The software only needs the Duration column created (if you want the duration, it will work without), and I did not create it to update year, even though it reads it. It means your audio file is damaged or does not have the proper tags saved before hand.

Remember: Most audio file formats, including MP3, have built-in redundancy and error-resilience mechanisms that allow them to continue playing even if parts of the file are damaged. So you may never even notice it was damaged to begin with.

Last edited by PetrusV; 01-28-2025 at 11:30 PM.
PetrusV is offline   Reply With Quote
Old 02-10-2025, 09:19 AM   #6
mietek81
Connoisseur
mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!
 
Posts: 81
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
Quote:
Originally Posted by PetrusV View Post
Supported Formats: m4b, m4a, mp3, ogg, opus, flac, wma, mp4, aiff
So I guess that for now there is no support for zip, rar, zab (zip with changed extension) archives of audio files?
mietek81 is offline   Reply With Quote
Old 02-14-2025, 12:46 AM   #7
PetrusV
Enthusiast
PetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tongue
 
Posts: 28
Karma: 22198
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
Quote:
Originally Posted by mietek81 View Post
So I guess that for now there is no support for zip, rar, zab (zip with changed extension) archives of audio files?
The plugin is designed to read audio files directly, so it doesn’t support ZIP, RAR, or ZAB archives. If your audiobooks are stored in an archive, you’d need to extract them first before adding them to Calibre. Once the individual audio files are available, the plugin can process their metadata as intended.
PetrusV is offline   Reply With Quote
Old 03-01-2025, 11:41 AM   #8
vlkirkpatrick
Junior Member
vlkirkpatrick began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Kindle Fire HD8 (2018)
When I import the m4b file, the narrator is not found. I created a column for narrator as a comma separated text, shown in tag browser and checked the box for contains names.
I use OpenAudible to get my audiobook files. In that app, it shows all the metadata, including the narrator name/names. Why isn't that info being included when I add the book to my library?
vlkirkpatrick is offline   Reply With Quote
Old 03-07-2025, 02:00 AM   #9
PetrusV
Enthusiast
PetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tonguePetrusV can tie a knot in a cherry stem with his or her tongue
 
Posts: 28
Karma: 22198
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
Narrator metadata wasn’t included in the scope of this plugin. The details in my original post specify which metadata fields are imported, and unfortunately narrator isn’t one of them. With so many tag fields available, I had to focus on the most essential ones. If you need that information, you’ll need to add it manually or modify the code. My main priority was ensuring the plugin works reliably for the supported fields rather than covering every possible scenario. Hope that helps!
PetrusV is offline   Reply With Quote
Reply

Tags
audiobook, m4a, m4b, metadata, mp3

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata Plugins and the "Download Metadata" bulk action DarkSir23 Development 10 11-12-2023 01:11 PM
[Metadata Source plugins] Calibre internal plugins fail igorius Plugins 1 05-28-2023 11:42 AM
Metadata Download Plugins TogTogTogTog Plugins 5 11-25-2018 12:32 AM
Metadata Plugins Fail Rellwood Calibre 1 09-10-2018 08:45 PM
Issue with metadata plugins vasyl Plugins 2 12-09-2015 12:03 AM


All times are GMT -4. The time now is 12:58 PM.


MobileRead.com is a privately owned, operated and funded community.