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 11-14-2021, 03:20 PM   #1
wiso
Member
wiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheese
 
wiso's Avatar
 
Posts: 11
Karma: 1052
Join Date: Nov 2021
Device: kindle
[GUI Plugin] AudioBook_Duration

[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)
It needs python3

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
Spoiler:
For now supported:
-English
-French
-Spanish


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)

Create a custom column
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.
Select an audiobook from our calibre library and press the button "update the audiobook duration column"

Version Update
# 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)

Changelog
Spoiler:
# 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
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	67
Size:	2.7 KB
ID:	190242   Click image for larger version

Name:	2.jpg
Views:	61
Size:	17.1 KB
ID:	190243   Click image for larger version

Name:	3.jpg
Views:	70
Size:	11.0 KB
ID:	190244   Click image for larger version

Name:	4.jpg
Views:	62
Size:	7.7 KB
ID:	190245   Click image for larger version

Name:	5.jpg
Views:	58
Size:	4.5 KB
ID:	190246   Click image for larger version

Name:	6.jpg
Views:	53
Size:	7.2 KB
ID:	190247   Click image for larger version

Name:	duration.png
Views:	24
Size:	25.1 KB
ID:	190381  
Attached Files
File Type: zip AudioBook_DurationV1.0.4.zip (541.3 KB, 695 views)

Last edited by wiso; 11-23-2021 at 03:25 PM. Reason: Changed "Gauge" to "calibre" as described in post 11. Also changed "complement" to "plugin"
wiso is offline   Reply With Quote
Old 11-14-2021, 04:06 PM   #2
dunhill
Evangelist
dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.
 
dunhill's Avatar
 
Posts: 400
Karma: 196652
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
Hi the person who made the AudioBook Duration plugin, can't edit the main thread. Any way to be able to do it?

Last edited by dunhill; 11-14-2021 at 07:26 PM.
dunhill is offline   Reply With Quote
Advert
Old 11-14-2021, 05:16 PM   #3
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 17,633
Karma: 20473671
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by wiso View Post
. . .

Installation Notes

Download the attached zip file and install the plugin as described in the Plugins Overview thread.
I don't see a zip file.

BR
BetterRed is offline   Reply With Quote
Old 11-14-2021, 07:20 PM   #4
wiso
Member
wiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheese
 
wiso's Avatar
 
Posts: 11
Karma: 1052
Join Date: Nov 2021
Device: kindle
My bad.

Here is the zip file.


P.S: Any admin could tell me, why i can't edit the main post?
Moderator Notice
moved PI to Post #1

Last edited by theducks; 11-14-2021 at 07:36 PM.
wiso is offline   Reply With Quote
Old 11-14-2021, 07:34 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 26,808
Karma: 41849005
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Yup
You are a NEW MR user below the required (magic) number of posts.
This is an Anti-Spammer protocol.
You also can't use PM's (But if you ask down in the FEEDBACK forum , a board level Mod can turn that on.
I will move your PI to post 1 (that is the location that Kovids Get Plugin tool scrapes).
theducks is online now   Reply With Quote
Advert
Old 11-14-2021, 07:59 PM   #6
wiso
Member
wiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheese
 
wiso's Avatar
 
Posts: 11
Karma: 1052
Join Date: Nov 2021
Device: kindle
Quote:
Originally Posted by theducks View Post
Yup
You are a NEW MR user below the required (magic) number of posts.
This is an Anti-Spammer protocol.
You also can't use PM's (But if you ask down in the FEEDBACK forum , a board level Mod can turn that on.
I will move your PI to post 1 (that is the location that Kovids Get Plugin tool scrapes).
I undertand that its a security protocol.

Tomorrow i'll read the FAQ of the forum.

Thx for all.
wiso is offline   Reply With Quote
Old 11-15-2021, 03:23 AM   #7
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 17,633
Karma: 20473671
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
Yup
You are a NEW MR user below the required (magic) number of posts.
This is an Anti-Spammer protocol.
You also can't use PM's (But if you ask down in the FEEDBACK forum , a board level Mod can turn that on.
I will move your PI to post 1 (that is the location that Kovids Get Plugin tool scrapes).
The Updater only scrapes threads that have an entry in the index, unless that's been changed - over to you

BR
BetterRed is offline   Reply With Quote
Old 11-15-2021, 11:55 AM   #8
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 5,073
Karma: 876022
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
Quote:
Originally Posted by wiso View Post
P.S: if possible I would like to ask if any administrator can edit /update the main post for bold titles.
I've copied your previous post into the first post (minus this line) and the attached zip file.

As I recall, once you have made 10 posts, the system should allow you to do your own updates. Calibre level mods can't change that, sorry.
JimmXinu is offline   Reply With Quote
Old 11-15-2021, 11:59 AM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 11,520
Karma: 66677073
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Curious to know, what is Gauge (you list it as required)?

What environments does this support (Windows, Mac, Linux)?

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 11-15-2021, 12:15 PM   #10
wiso
Member
wiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheese
 
wiso's Avatar
 
Posts: 11
Karma: 1052
Join Date: Nov 2021
Device: kindle
Quote:
Originally Posted by PeterT View Post
Curious to know, what is Gauge (you list it as required)?

What environments does this support (Windows, Mac, Linux)?

Sent from my Pixel 4a using Tapatalk
I don't know why i typed "Gauge" i whant to mean Calibre 5.x whith python 3.x suport. (sorry for that)

I tested this plugin on:
Linux (Working)
Windows (Working, but maybe fail if calibre plugin folder doesn't have permisión for all users, i tryied to solve this and i think its solved, but is not tested 100%)
Mac (Testing, it should work soon,i don't have a mac ... so i have to ask someone to test it to see if it really works)
wiso is offline   Reply With Quote
Old 11-15-2021, 04:11 PM   #11
dunhill
Evangelist
dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.dunhill can program the VCR without an owner's manual.
 
dunhill's Avatar
 
Posts: 400
Karma: 196652
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
tested on linux, works fine, thanks for your work
dunhill is offline   Reply With Quote
Old 11-15-2021, 04:41 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 26,808
Karma: 41849005
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by wiso View Post
I don't know why i typed "Gauge" i whant to mean Calibre 5.x whith python 3.x suport. (sorry for that)

I tested this plugin on:
Linux (Working)
Windows (Working, but maybe fail if calibre plugin folder doesn't have permisión for all users, i tryied to solve this and i think its solved, but is not tested 100%)
Mac (Testing, it should work soon,i don't have a mac ... so i have to ask someone to test it to see if it really works)
I fixed Gauge for you
theducks is online now   Reply With Quote
Old 11-17-2021, 10:27 AM   #13
wiso
Member
wiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheese
 
wiso's Avatar
 
Posts: 11
Karma: 1052
Join Date: Nov 2021
Device: kindle
Update news about:
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
wiso is offline   Reply With Quote
Old 11-22-2021, 01:21 PM   #14
wiso
Member
wiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheesewiso can extract oil from cheese
 
wiso's Avatar
 
Posts: 11
Karma: 1052
Join Date: Nov 2021
Device: kindle
Version Update
Version 1.0.3 - 2021-11-21
Added progress bar to see the percentage of books processed. (basic progress bar)

Changelog
Spoiler:
# 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).

Moderator Notice
moved PI to post #1

Last edited by theducks; 11-22-2021 at 01:29 PM.
wiso is offline   Reply With Quote
Old 11-22-2021, 06:11 PM   #15
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 17,633
Karma: 20473671
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@theducks - post #8 is 'confusing', I suspect it's redundant.

@wiso - what file types does the PI process? Example: can it do flac and mp4.

BR
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 06:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 08:48 PM.


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