[GUI Plugin] AudioBook_Duration
This plugin calculates the duration of the audiobooks or audio files associated with a book (within its folder), and adds that duration in a custom column that we have previously created for this purpose. (It will be a duration column but we can call it whatever we want).
At the moment it has no additional functions.
Main features
Calculate the duration of the books in our library, or of the associated audios that are included in the folders of the selected books.
Put that result in a custom column, previously.
Special notes
Requires calibre 5.xx (python3)(QT5)
It
needs python3
Compatible with calibre 6.xx (QT6)
suported operating systems:
-Linux (Pluguin is working) Tested on ubuntu 20.04
-Windows (Plugin is working) Tested on windows 10
Maybe fail if calibre plugin folder doesn't have permisión for all users, i tryied to solve this and i think its solved.
-Mac (Plugin is working) Tested on MacOS Big Sur 11.6
Supported languages (
This plugin has support for translations):
You are free to provide a translation in your preferred language
Installation Notes
Download the attached zip file and install the plugin as described in the Plugins Overview thread.
You can add it to the menu bar to use it comfortably (it is added by default)
1° Create a custom column
2º Click on the button of our plugin "AudioBook_Duration" on the button to configure the plugin, and in this field fill in the name of the custom column # duration or the name you have given it.
3° Select an audiobook from our calibre library and press the button "update the audiobook duration column"
Version Update
#
Version 1.0.9 - 2022-07-11
Added support for Calibre 6.x and new libraries QT6
we need to install or add a file for rar support
instructions for support of .rar files.
windows:
https://www.rarlab.com/rar_add.htm
Add the file unrar.exe inside the plugin folder like User / AppData / roaming / calibre / plugins / AudioBook_Duration / rarfile / unrar.exe
linux:
install rar and unrar.
example for debian ubuntu.
sudo apt-get install rar
sudo apt-get install unrar
mac:
untested, but should be similiar like linux
install rar and unrar
Changelog
Spoiler:
#
Version 1.0.9 - 2022-07-11
Added support for Calibre 6.x and new libraries QT6
#
Version 1.0.8 - 2022-01-07
Removed word "plugin" from the name on tool-bar (its' redundant on a plugin)
Changed the way is showed duration, in old versions was days hours minutes seconds DD:HH:MM:SS
Now is only Hours Minutes Seconds HH:MM:SS
Added support for language Catalan (Català)
#
Version 1.0.7 - 2022-01-02
Added support for single compressed files (Zip, Rar) without password.
Example mi_book.zip that includes a forlder and files for each chapter
(chapter1.mp3, chapter2.ogg, chapter3.aac ...)
native support for .zip files
we need to install or add a file for rar support
instructions for support of .rar files.
windows:
https://www.rarlab.com/rar_add.htm
Add the file unrar.exe inside the plugin folder like User / AppData / roaming / calibre / plugins / AudioBook_Duration / rarfile / unrar.exe
linux:
install rar and unrar.
example for debian ubuntu.
sudo apt-get install rar
sudo apt-get install unrar
mac:
untested, but should be similiar like linux
install rar and unrar
#
Version 1.0.6 - 2021-12-13
Added support for (M4b) extension.
#
Version 1.0.5 - 2021-12-08
Fixed requirements description.
This plugin needs, calibre 5.0 or newer.
#
Version 1.0.4 - 2021-11-23
Added New Supported file type extension (Flac, Mp4, Aac, Ac3)
All Supported file extensions (Mp3, M4a, Mp4, Ogg, Flac, Aac, Ac3)
#
Version 1.0.3 - 2021-11-21
Added progress bar to see the percentage of books processed. (basic progress bar)
#
Version 1.0.2 - 2021-11-17
Version number included in both the about.txt file and the __ini.py__ file
Modified the automatic refresh when the plugin finishes calculating the duration of each audiobook
#
Version 1.0.1 - 2021-11-15
Added automatic refresh when the plugin finishes calculating the duration of the audiobooks, when finishes all.
#
Version 1.0.0 - 2021-11-14
Released First version of AudioBook_Duration plugin
This plugin calculates the duration of the audiobooks or audio files associated with a book (within its folder),
and adds that duration in a custom column that we have previously created for this purpose.
(It will be a duration column but we can call it whatever we want).
screenshots