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 04-19-2023, 04:21 PM   #8356
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by ninjadudedxp View Post
Trying to search through the thread for my answer but cant seem to find it, is there a way for calibre FFF to auto update? I Have email set up but i still have to manually click update from email anytime i login.

I have calibre set up on my local server so i dont tend to log in often enough but would like it to update with current chapters automatically.
No. Deliberate choice I think, but don't remember the exact reasoning.
ownedbycats is online now   Reply With Quote
Old 04-19-2023, 04:29 PM   #8357
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,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Unfortunately, no.

Calibre doesn't have any mechanism for GUI plugins to be automatically activated. Both calling for updates and the 'proceed to update library' dialog need GUI interaction.

I believe that some plugins allow for bypassing the 'proceed to update' dialog, but last I heard, that is Calibre's official way of protecting the library from multiple actions overwriting each other and should not be skipped.
JimmXinu is offline   Reply With Quote
Advert
Old 04-19-2023, 04:33 PM   #8358
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
I believe that some plugins allow for bypassing the 'proceed to update' dialog, but last I heard, that is Calibre's official way of protecting the library from multiple actions overwriting each other and should not be skipped.
Extract ISBN and Count Pages (both kiwidude's plugins) both have this option.

Last edited by ownedbycats; 04-19-2023 at 04:50 PM.
ownedbycats is online now   Reply With Quote
Old 04-19-2023, 11:20 PM   #8359
ninjadudedxp
Junior Member
ninjadudedxp began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2023
Device: Meebook
Quote:
Originally Posted by JimmXinu View Post
Unfortunately, no.

Calibre doesn't have any mechanism for GUI plugins to be automatically activated. Both calling for updates and the 'proceed to update library' dialog need GUI interaction.

I believe that some plugins allow for bypassing the 'proceed to update' dialog, but last I heard, that is Calibre's official way of protecting the library from multiple actions overwriting each other and should not be skipped.
Thats what i thought, CLI Docker is not really clear on how to enable autoupdates. was able to download books just fine just no idea how to schedule updates.
ninjadudedxp is offline   Reply With Quote
Old 04-21-2023, 01:26 AM   #8360
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
@JimmXinu - Calibre 6.16 adds a 'recycle bin' in the right-click of delete menu. After updating a fic, the old versions appear under the 'formats' tab.

Don't know if there's any way around this, and personally don't think this behaviour needs to be turned off as most users probably won't be poking around in there. (Plus it may be useful in case of glitches or user errors.) But I thought you should know in case you think otherwise.

EDIT: Also, a quick test (and glance at hidden .caltrash folder in library folder) it seems it doesn't keep multiple copies, so a user won't end up with a half-dozen slightly differing versions.

Last edited by ownedbycats; 04-21-2023 at 06:42 AM.
ownedbycats is online now   Reply With Quote
Advert
Old 04-21-2023, 10:40 AM   #8361
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,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Calibre Trash Can

I don't think FFF needs to do anything special about this. We'll have to watch for issues.

Tech Details:
Spoiler:
FFF uses the Calibre APIs to remove formats (db.remove_format()) and books (actions['Remove Books'].do_library_delete()).

FFF does db.remove_format() before adding the updated epub (or other downloaded format) and 'Remove New Chapter marks' specifically so the prior version ends up in system trash.

If a user updates a book with FFF and then restores the removed format from Trash, it will not restore the prior metadata in the library. It would be equivalent to doing 'Update Calibre Metadata Only'.

I'm a bit surprised--as I recall, Kovid had previously not wanted a trash can in Calibre. And I don't find any discussion of it here in MR, in the bug tracker or in github. I wonder what changed his mind?
JimmXinu is offline   Reply With Quote
Old 04-21-2023, 04:19 PM   #8362
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
I don't think FFF needs to do anything special about this. We'll have to watch for issues.

Tech Details:
Spoiler:
FFF uses the Calibre APIs to remove formats (db.remove_format()) and books (actions['Remove Books'].do_library_delete()).

FFF does db.remove_format() before adding the updated epub (or other downloaded format) and 'Remove New Chapter marks' specifically so the prior version ends up in system trash.

If a user updates a book with FFF and then restores the removed format from Trash, it will not restore the prior metadata in the library. It would be equivalent to doing 'Update Calibre Metadata Only'.

I'm a bit surprised--as I recall, Kovid had previously not wanted a trash can in Calibre. And I don't find any discussion of it here in MR, in the bug tracker or in github. I wonder what changed his mind?
Not sure. I seem to recall someone making a request either here on MR or on Launchpad, but hadn't been paying much attention to it.

There is one discussion, but more on how to disable it entirely:
https://www.mobileread.com/forums/sh...d.php?t=353478
ownedbycats is online now   Reply With Quote
Old 04-22-2023, 03:57 PM   #8363
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Calibre 6.16 also adds an extra data folder inside the book folder. If I store a cover image in there, can force_cover_image use a relative path, or do I need to use the full path?

If the latter is the case I'd have to take some measures against the author's name changing.

EDIT: It will also be useful for keeping old versions of fanfics

Last edited by ownedbycats; 04-22-2023 at 05:53 PM.
ownedbycats is online now   Reply With Quote
Old 04-22-2023, 04:41 PM   #8364
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,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
force_cover_image hasn't been changed, so no.

force_cover_image and default_cover_image share code that expects a file:// URL rather than a file pathname. I don't think relative paths will work.
JimmXinu is offline   Reply With Quote
Old 04-22-2023, 04:59 PM   #8365
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,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JimmXinu View Post
...
I'm a bit surprised--as I recall, Kovid had previously not wanted a trash can in Calibre. And I don't find any discussion of it here in MR, in the bug tracker or in github. I wonder what changed his mind?
Page 4 of this thread ==>> [Enhancement] calibre:// book-details option

BR
BetterRed is online now   Reply With Quote
Old 04-22-2023, 05:19 PM   #8366
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 70
Karma: 76
Join Date: Apr 2019
Device: none
Swapping Metadata Columns

I am struggling with an issue with ScribbleHub and my Google skills are failing me.

ScribbleHub lists both genre and tags for a story. The ScribbleHub adapter loads the tags into Category and Defaults includes genre in Subject Tags. This is the opposite of what I want. I want the story tags to be in the Tags column. This is easy enough, except that I also want the genres to be in the Category column, to match what I do with other sites. No matter what I've tried in personal.ini, I lose the actual tags and either end up with genre in both columns or just a lone "FanFiction" entry that I can't figure out how to get rid of. (Yes, I have a blank extratags: in there.)

So, my question is, how do I move the tags from category to subject tags before I overwrite category with the genre values?

- Andrew
applegaa is offline   Reply With Quote
Old 04-22-2023, 07:17 PM   #8367
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'm not familiar too much with scribblehub, but check the defaults.ini include_in_* entries.
ownedbycats is online now   Reply With Quote
Old 04-22-2023, 07:18 PM   #8368
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,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
applegaa, the word 'tags' is ambiguous, and metadata entries are not the same thing as what ends up in Calibre's Tags column, aka 'subject tags'. So I'm not 100% sure I know what you are saying. But I will make an attempt.

I think this does it:
Code:
[www.scribblehub.com]

# Remove genre & extratags from Calibre Tags.
include_subject_tags: category, characters, ships, status

# Add a custom column setting to the list for genre,
# flag 'r' for replace to overwrite more generic setting
add_to_custom_columns_settings:
 genre=>#yourcategorycol,r
If that doesn't help, please provide a concrete example with story URL (SFW please) and exactly which values you want and don't want where.
JimmXinu is offline   Reply With Quote
Old 04-22-2023, 07:32 PM   #8369
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question:

'New only' on columns requires turning off to override. Is there an easier way I don't know of, or a similar option that populates only undefined columns?

Last edited by ownedbycats; 04-22-2023 at 07:34 PM.
ownedbycats is online now   Reply With Quote
Old 04-22-2023, 11:15 PM   #8370
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,970
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
No, there isn't. I would suggest manually filling the field instead in those cases.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:30 PM.


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