Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2022, 05:31 PM   #31
wiso
Enthusiast
wiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it is
 
wiso's Avatar
 
Posts: 33
Karma: 2114
Join Date: Nov 2021
Device: kindle
Quote:
Originally Posted by silatiw View Post
Thank you for the new version with .zip file support. The plug works very well.
If I can, I have two small suggestions:
- if the book is longer than 24 hours, the result is presented e.g. 1day 3:22:45, in my opinion it should be 27:22:45
- could you please abbreviate the plugin name under the icon in the caliber menu. There is an 'AudioBook Duration plugin' probably better it will be: 'AudioBook Duration' Then the distance between the icons is smaller.
1) True, I used timedelta for the duration, but it is a date and has the limit of 24 hours as the maximum value of the time, I will change it with a custom function (which I did in version 1.0.0 and did not end up using)

2) It is true that the word plugin in a plugin is redundant, so I will remove it.
wiso is offline   Reply With Quote
Old 05-07-2022, 01:23 PM   #32
Magic815
Enthusiast
Magic815 has learned how to buy an e-book online
 
Posts: 34
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
So I stumbled across this plugin and see that v1.0.6 added M4B support. However, I have a really dumb question: How does one get M4B audio books into the Calibre library in the first place? In my initial searching, I thought audiobook files (such as M4B) are not supported by Calibre?
Magic815 is offline   Reply With Quote
Advert
Old 05-07-2022, 02:54 PM   #33
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: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Calibre will STORE other things in the title folders (a title folder is what shows in the formats section of the MDE (Metadata editor)

You can just drop those other types into that panel.
Supported means Calibre can do other things (like Edit, View).
Unsupported means you must do the extra lifting, like oppen the MDE and double-clicking a M4B (assumes the OS knows what to do with that type.)
theducks is offline   Reply With Quote
Old 05-07-2022, 04:27 PM   #34
Magic815
Enthusiast
Magic815 has learned how to buy an e-book online
 
Posts: 34
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
Quote:
Originally Posted by theducks View Post
Calibre will STORE other things in the title folders (a title folder is what shows in the formats section of the MDE (Metadata editor)

You can just drop those other types into that panel.
Supported means Calibre can do other things (like Edit, View).
Unsupported means you must do the extra lifting, like oppen the MDE and double-clicking a M4B (assumes the OS knows what to do with that type.)
I see, so if I have the below folder (which contains the m4b and other supporting files - not sure if any of those are needed?),

I can add those to be inside my main Calibre Library folder? Do I do that just via my Windows folder explorer manually outside of Calibre? Or is it possible to store that folder (or maybe just the m4b file) via the Calibre GUI?
Magic815 is offline   Reply With Quote
Old 05-07-2022, 05:05 PM   #35
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: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Well I tried a number of things. (VLC is my media player)

A put the cue file there: VLC showed the Playlist (that is what a CUE does), but VLC could not find the m4b. I then added the m4b file there. still no joy (cue path has encoded spaces:%20 ) using the cue.

I can open the M4B directly with Calibre (it launches VLC in my case), but there is no playlist to allow switching chapters.

I also failed adding a folder (xyz.ab) which contained the other files.
jpg is the cover (not needed to play)
nfo is details about the audio (not needed to play)
theducks is offline   Reply With Quote
Advert
Old 05-07-2022, 05:32 PM   #36
wiso
Enthusiast
wiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it is
 
wiso's Avatar
 
Posts: 33
Karma: 2114
Join Date: Nov 2021
Device: kindle
Hi !!

What I do when I add audiobooks with multiple audio files is create an .m3u playlist.

I directly add this playlist with the name of the audiobook name to caliber and then (manually) copy the files to the caliber folder.

If you click on the audiobook, it will open the playlist with your player and it will have all the files of each chapter loaded.

The .m3u file is something like this:
(you can edit the .m3u file with any text editor)
Code:
#EXTM3U
my_audiobook_name_01.mp3
my_audiobook_name_02.mp3
...

Last edited by wiso; 05-08-2022 at 07:03 AM.
wiso is offline   Reply With Quote
Old 05-07-2022, 07:55 PM   #37
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
Well I tried a number of things. (VLC is my media player)

A put the cue file there: VLC showed the Playlist (that is what a CUE does), but VLC could not find the m4b. I then added the m4b file there. still no joy (cue path has encoded spaces:%20 ) using the cue.

I can open the M4B directly with Calibre (it launches VLC in my case), but there is no playlist to allow switching chapters.

I also failed adding a folder (xyz.ab) which contained the other files.
jpg is the cover (not needed to play)
nfo is details about the audio (not needed to play)
Either something is wrong with your MB4 or VLC doesn't properly support MB4. Try Foobar2000 with your MB4. I know it will work there correctly. You don't need a .cue file with MB4 as there are section markers within the MB4 so you can switch from one section to another.
JSWolf is online now   Reply With Quote
Old 05-07-2022, 09:35 PM   #38
Magic815
Enthusiast
Magic815 has learned how to buy an e-book online
 
Posts: 34
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
Quote:
Originally Posted by JSWolf View Post
Either something is wrong with your MB4 or VLC doesn't properly support MB4. Try Foobar2000 with your MB4. I know it will work there correctly. You don't need a .cue file with MB4 as there are section markers within the MB4 so you can switch from one section to another.
Cool - so I take that to mean that if I use the metadata edit window to manually add the .m4b file as a new format, that will "merge" the audiobook format into the same single book listing inside Calibre? And that single .m4b file will work as-is, if I was to remotely access my library (via content server) and download it to my phone?
Magic815 is offline   Reply With Quote
Old 05-07-2022, 10:46 PM   #39
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: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Yes the file will coexist with the book
NO it is unsupported, the content server does not know what to do with those files.

I figured out what was going on.
Calibre renames the files when it adds them, thus breaking the internals of the cue (still has the old name). (the cue is a text file: NP++ peeks just fine)
theducks is offline   Reply With Quote
Old 05-07-2022, 10:51 PM   #40
Magic815
Enthusiast
Magic815 has learned how to buy an e-book online
 
Posts: 34
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
Quote:
Originally Posted by theducks View Post
Yes the file will coexist with the book
NO it is unsupported, the content server does not know what to do with those files.

I figured out what was going on.
Calibre renames the files when it adds them, thus breaking the internals of the cue (still has the old name). (the cue is a text file: NP++ peeks just fine)
Ah, looks like I can use calibre-web then, to remotely access m4b files, yea? I'm trying it now, and it seems to work. Even with Calibre changing the file name, I see to be able to download the file to my phone, and I think it plays fine. Or is there an issue I'm not seeing with the mis-matched m4b file name and internal cue data?
Magic815 is offline   Reply With Quote
Old 05-08-2022, 06:58 AM   #41
wiso
Enthusiast
wiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it is
 
wiso's Avatar
 
Posts: 33
Karma: 2114
Join Date: Nov 2021
Device: kindle
Quote:
Originally Posted by Magic815 View Post
I see, so if I have the below folder (which contains the m4b and other supporting files - not sure if any of those are needed?),

I can add those to be inside my main Calibre Library folder? Do I do that just via my Windows folder explorer manually outside of Calibre? Or is it possible to store that folder (or maybe just the m4b file) via the Calibre GUI?
You can show us any .cue file that give you problems, i can use .m3u or .cue files with vlc or another players correctly.

example of my .cue
PHP Code:
REM GENRE "audiobook"
REM COMMENT "some coments"
PERFORMER "Performer name"
TITLE "audiobook_title"
FILE "Autdiobook name.m4a" MP3
 TRACK 01 AUDIO 
  TITLE 
"intro"
  
PERFORMER "Performer name"
  
INDEX 01 00:00:00
 TRACK 02 AUDIO 
  TITLE 
"chapter1"
  
PERFORMER "Performer name"
  
INDEX 01 01:00:00
 TRACK 02 AUDIO 
  TITLE 
"chapter2"
  
PERFORMER "Performer name"
  
INDEX 01 02:00:00
... 
wiso is offline   Reply With Quote
Old 05-08-2022, 08:27 AM   #42
Magic815
Enthusiast
Magic815 has learned how to buy an e-book online
 
Posts: 34
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
Quote:
Originally Posted by wiso View Post
You can show us any .cue file that give you problems, i can use .m3u or .cue files with vlc or another players correctly.

example of my .cue
PHP Code:
REM GENRE "audiobook"
REM COMMENT "some coments"
PERFORMER "Performer name"
TITLE "audiobook_title"
FILE "Autdiobook name.m4a" MP3
 TRACK 01 AUDIO 
  TITLE 
"intro"
  
PERFORMER "Performer name"
  
INDEX 01 00:00:00
 TRACK 02 AUDIO 
  TITLE 
"chapter1"
  
PERFORMER "Performer name"
  
INDEX 01 01:00:00
 TRACK 02 AUDIO 
  TITLE 
"chapter2"
  
PERFORMER "Performer name"
  
INDEX 01 02:00:00
... 
I guess I'm not sure I have a problem with the cue file? I've tested moving the m4b file to my phone on it's own (not bringing over the cue file, the nfo file, or the cover) - and it seems to play just fine on my phone. The m4b file itself has embedded chapters, so I'm not even really sure why the cue file is also in there. Maybe there are some playback devices that can't properly read the embedded chapter breaks, and so the cue file helps for those?
Magic815 is offline   Reply With Quote
Old 07-11-2022, 12:31 PM   #43
wiso
Enthusiast
wiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it iswiso knows what time it is
 
wiso's Avatar
 
Posts: 33
Karma: 2114
Join Date: Nov 2021
Device: kindle
Quote:
Originally Posted by Magic815 View Post
I guess I'm not sure I have a problem with the cue file? I've tested moving the m4b file to my phone on it's own (not bringing over the cue file, the nfo file, or the cover) - and it seems to play just fine on my phone. The m4b file itself has embedded chapters, so I'm not even really sure why the cue file is also in there. Maybe there are some playback devices that can't properly read the embedded chapter breaks, and so the cue file helps for those?
ma4 and m4b files have embedded chapters, and yes, the .cue is a "b" option in case you couldn't read those embedded chapters in older players.


P.S: Version 1.0.9 released with support for caliber 6.0 and qt6 libraries.
wiso is offline   Reply With Quote
Old 07-14-2022, 05:48 PM   #44
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: 723
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
thanks for the update and support for calibre 6
dunhill is offline   Reply With Quote
Old 11-16-2022, 12:08 PM   #45
alyshadeshae
Cat Mom
alyshadeshae began at the beginning.
 
alyshadeshae's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2013
Location: Louisiana
Device: Likebook Mars
Incorrect Duration

I have an issue where some (not all) of my audiobooks are producing incorrect durations.

The ones showing up wrong are always shorter (usually much shorter) than the actual length of the audiobook. I'm attached one example (and linked it from imgur), but this isn't my only incorrect one.


top line is info from calibre showing incorrect duration
bottom line is from file explorer showing correct duration

When I have audiobooks in multiple parts, I merge them together into one file using Merge MP3, so my first thought was there was a metadata holdover from before merging. However, I've had this issue happen in audiobooks that did not need to be merged and there are audiobooks that I've merged that don't have this issue at all.

Any thoughts on fixing this?
Attached Thumbnails
Click image for larger version

Name:	duration issue example.png
Views:	265
Size:	3.3 KB
ID:	197811  

Last edited by alyshadeshae; 11-22-2022 at 07:24 PM.
alyshadeshae is offline   Reply With Quote
Reply


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 05:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:56 AM.


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