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 02-05-2025, 07:12 PM   #46
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,494
Karma: 7030383
Join Date: Sep 2020
Device: none
[35.12] [Backup Configuration Folder]: starting backup process
[38.42] [Backup Configuration Folder]: wrote config backup to C:\Users\user\CalibreConfigBCK2\calibre-config-bck-05-02-2025 at 20-05-28.zip
[38.44] [Backup Configuration Folder]: finished

[50.09] [Backup Configuration Folder]: starting backup process
[53.42] [Backup Configuration Folder]: wrote config backup to C:\Users\user\CalibreConfigBCK2\calibre-config-bck-05-02-2025 at 20-04-47.zip
[53.44] [Backup Configuration Folder]: finished

stuff i have is:

4.044 Files, 117 Folders

64,8 MB (67.952.770 bytes)


Good night!
Comfy.n is offline   Reply With Quote
Old 02-05-2025, 07:40 PM   #47
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,219
Karma: 7955067
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Version 1.1.0: (05/Feb/2025):
I consider this to be a stable release. The change rate should slow down.
Changes:
  • Allow calibre version 5.35 and newer.
  • Add timed print debugging statements
  • Add the archive size to the debug output.
chaley is offline   Reply With Quote
Old 02-05-2025, 07:41 PM   #48
BetterRed
null operator (he/him)
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: 21,310
Karma: 29266456
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
I was just getting ready to ask you how big the backup zip was. All the time was in making the archive, which implied exactly what you found.

I wonder if I should report the size of the written archive?
I knew something was amiss when the copy Config_64bit to D:\Calibre popped a very slow moving progress bar - there were a bunch of huge backups too.

I was having difficulty believing that I didn't test the plugin in my installed calibre. My regime for new things is test in portable first, and add to installed version if its OK.

BR
BetterRed is offline   Reply With Quote
Old 02-06-2025, 12:06 AM   #49
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 42,429
Karma: 162918680
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
On my system, the config backup is ~100MB.
DNSB is online now   Reply With Quote
Old 02-06-2025, 06:49 AM   #50
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,219
Karma: 7955067
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
On my system, the config backup is ~100MB.
That is ≈ 6 times larger than mine. Is there anything obviously large in the folder? One thing might be a lot of images in resources, cc_icons, or tb_icons.

The attachment shows the largest few files on my system. EPUBCheck accounts for a lot of them.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	25
Size:	107.7 KB
ID:	213466  
chaley is offline   Reply With Quote
Old 02-06-2025, 08:38 AM   #51
BetterRed
null operator (he/him)
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: 21,310
Karma: 29266456
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
That is ≈ 6 times larger than mine. Is there anything obviously large in the folder? One thing might be a lot of images in resources, cc_icons, or tb_icons.

The attachment shows the largest few files on my system. EPUBCheck accounts for a lot of them.
Mine is a tad smaller, compresses to 13.9MB, resources is large because of override images.

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-02-06 232719.jpg
Views:	24
Size:	146.3 KB
ID:	213468  
BetterRed is offline   Reply With Quote
Old 02-06-2025, 10:57 AM   #52
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: 30,642
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Remember, the config folder has all your plugins (and their supporting configs), Search(&R) History.

Explorer says mine is 300MB (uncompressed) I only have 31 Plugins installed
theducks is online now   Reply With Quote
Old 02-06-2025, 04:39 PM   #53
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 42,429
Karma: 162918680
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by chaley View Post
That is ≈ 6 times larger than mine. Is there anything obviously large in the folder? One thing might be a lot of images in resources, cc_icons, or tb_icons.

The attachment shows the largest few files on my system. EPUBCheck accounts for a lot of them.
On mine, the EpubCheck plugin directory accounts for 30MB and the CheckBook plugin (EpubCheck & ACE) directory and .zip file account for 69MB. Since EpubCheck downloads the actual epucheck code, the .zip file is a lot smaller while CheckBook .zip file includes the epubcheck code and the ACE code so the .zip file is about the same size as the compressed directory.

Since I have not used CheckBook in quite a while, I removed it from the Plugins preferences and the backup file shrank to 71MB. Looking at the plugins folder, the epubcheck stuff was still left in the CheckBooks directory so I manually removed it and the backup size dropped to 41.5MB.
DNSB is online now   Reply With Quote
Old 02-06-2025, 05:16 PM   #54
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: 77,807
Karma: 142032074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
My config directory is 59.6MB. Shutting down calibre takes less then 30 seconds.
JSWolf is offline   Reply With Quote
Old 02-06-2025, 06:14 PM   #55
BetterRed
null operator (he/him)
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: 21,310
Karma: 29266456
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Now that I've deleted that 3Gb file from my config, shutdown is sub 2 seconds… calibre-debug -g reports:

[13.41] [BCF]: starting backup process
[14.61] [BCF]: wrote config backup to C:\_AppData….zip. Size: 14,663,261 bytes.
[14.62] [BCF]: finished

I only have 9 plugins installed, editor plugins such as EPUBcheck, Shady Chars, Tag Mechanic etc are in Sigil; so, don't need them in calibre. If I need a plugin for a particular task I install it in portable, do what I need to do, and then nuke the portable and create a fresh install.

BR
BetterRed is offline   Reply With Quote
Old 02-06-2025, 09:16 PM   #56
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 42,429
Karma: 162918680
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Here's my backup timing:
Quote:
[9.09] [Backup Configuration Folder]: starting backup process
[10.36] [Backup Configuration Folder]: wrote config backup to C:\Users\username\Desktop\Calibre Config Backups\backup-calibre\2025-02-06 at 17-11-05.zip. Size: 42,506,716 bytes.
[10.38] [Backup Configuration Folder]: finished
List of installed plugins:

Spoiler:
Successfully initialized third party plugins:
ACSM Input (0, 1, 0)
LCPL Input (0, 0, 5)
Gather KFX-ZIP (from KFX Input) (2, 19, 0)
DeDRM (10, 0, 9)
AZW6 Image Merge (1, 1, 1)
Package KFX (from KFX Input) (2, 19, 0)
ACSM Input Plugin GUI Extension (0, 1, 0)
Apple Books covers (0, 2, 0)
Backup Configuration Folder (1, 1, 0)
Barnes & Noble (1, 5, 6)
Count Pages (1, 13, 6)
Diaps Editing Toolbag (0, 5, 0)
EpubCheck (0, 2, 5)
EpubMerge (3, 2, 0)
EpubSplit (3, 10, 0)
FanFicFare (4, 42, 0)
Find Duplicates (1, 10, 9)
Generate Cover (2, 3, 5)
Goodreads (1, 8, 2)
Job Spy (1, 0, 239)
KFX metadata reader (from KFX Input) (2, 19, 0)
From KFX (2, 19, 0)
KFX Input (2, 19, 0)
Set KFX metadata (from KFX Output) (2, 13, 0)
KFX Output (2, 13, 0)
KePub Metadata Reader (3, 4, 3)
KePub Output (3, 7, 3)
Kindle hi-res covers (0, 5, 1)
KindleUnpack - The Plugin (0, 83, 7)
Kobo Metadata (1, 10, 0)
Kobo Utilities (2, 17, 5)
KoboTouchExtended (3, 7, 3)
Modify ePub (1, 8, 5)
Obok DeDRM (10, 0, 9)
Open With (1, 8, 3)
OverDrive Libby (0, 2, 2)
Quality Check (1, 13, 16)
Resize Cover (1, 2, 1)
ScrambleEbook (0, 6, 0)
SmartEject (2, 6, 0)
Smashwords Metadata (1, 0, 2)
DNSB is online now   Reply With Quote
Old 02-06-2025, 11:39 PM   #57
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: 799
Karma: 409966
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
Here is the plugin with translation support
Now with Spanish language

There are strings like this that I haven't figured out how to mark for translation.
timed_print(f'[{pi_name}]: starting backup process')

Last edited by chaley; 02-07-2025 at 07:54 AM. Reason: Removed zip file
dunhill is offline   Reply With Quote
Old 02-07-2025, 07:53 AM   #58
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,219
Karma: 7955067
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by dunhill View Post
Here is the plugin with translation support
Now with Spanish language

There are strings like this that I haven't figured out how to mark for translation.
timed_print(f'[{pi_name}]: starting backup process')
Thanks for this.

I had to change several things. For example:
  • The date pattern string cannot be translated because the date letters are fixed in code (format_date()). I changed the default file name to remove 'at' to avoid using words in the date pattern string. The user can do whatever they want and will see the result and thus see where it breaks.
  • The name of the json settings file should not be translated.
  • I added the translation of 'Current Value' to the tooltip generator.
  • I made the plugin description translatable.

The changed version is attached. I'll release it once you tell me you are finished with any changes.

EDIT: If you ran the version in @Dunhill's post then because of the change to the JSON configuration file name the history records for the plugin will be wrong.
Attached Files
File Type: zip Backup Configuration Folder_1_1_1.zip (22.3 KB, 10 views)

Last edited by chaley; 02-07-2025 at 08:00 AM.
chaley is offline   Reply With Quote
Old 02-07-2025, 10:18 PM   #59
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: 799
Karma: 409966
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
I'll release it once you tell me you are finished with any changes.

Thanks @chaley for accepting the translation support and for most errors. Now the file is ready.
Thank you!

Last edited by chaley; 02-08-2025 at 05:16 AM. Reason: Removed zip file
dunhill is offline   Reply With Quote
Old 02-08-2025, 05:15 AM   #60
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,219
Karma: 7955067
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by dunhill View Post
I'll release it once you tell me you are finished with any changes.

Thanks @chaley for accepting the translation support and for most errors. Now the file is ready.
Thank you!
I released version 1.1.2 with your changes. Note: the first string in choose_file() should not be translated. It is the name of a JSON configuration item. I put underscores into the string to make that more obvious.
chaley 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
backup function for the configuration folder? Martin Calibre 18 08-18-2023 05:03 AM
Is there a way to backup my settings/configuration? birkmaggs Calibre 8 04-21-2023 11:26 PM
Configuration backup kshane9 Library Management 2 11-17-2017 03:11 PM
Change location of configuration folder macnab69 Library Management 10 11-04-2015 10:22 AM
Local backup folder is located where? pewterbot9 enTourage Archive 1 12-30-2010 03:16 PM


All times are GMT -4. The time now is 10:41 PM.


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