View Single Post
Old 09-08-2022, 01:07 PM   #766
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: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version

2022-09-08
- Fix for 'Corrupted Config file' on Add Setting.

I thought it was an interaction between Add and Save, but it was just Add.

2022-09-07
- Move where GC puts temporary files during setting Import/Export to plugins/generate_cover instead of resources/images/generate_cover.
- Include file name when warning about image file overwrite.

It would be better if GC used a proper temp file, but the JSONConfig class it uses insists on something relative to the calibre settings dir.

2022-08-30
- Move where GC stores cover images from resources/images/generate_cover to plugins/generate_cover

Attached version uses the new dir and does a one-time copy(not move) of configured images from resources/images/generate_cover to plugins/generate_cover.

Tested with Calibre 2, 5 & 6, but only on Win10. I don't have mac or linux available to test with right now. I did try to use a cross-platform safe method.

UPDATE: Test version removed pending review. May be going in a different direction with the resources/images/generate_cover move.

Last edited by JimmXinu; 09-14-2022 at 12:51 PM.
JimmXinu is offline   Reply With Quote