View Single Post
Old 11-01-2020, 07:42 PM   #4797
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: 7,043
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Could it be possible to add "yes/no to all" for the "this story is already in an anthology..." prompt?

Corner case: I downloaded a series as an anthology. Then I decided the author's other fanfics looked interesting and used the URL scraper to grab them. I didn't know the popup existed so I could change the update mode for existing fics to "skip" (though I'm unsure if that would've helped anyways).
The Calibre question_dialog() method used, if invoked with the 'show this dialog again' option remembers when you uncheck that... forever.

And Calibre's gui2.dialogs.message_box.MessageBox class that question_dialog() only implements Yes/No buttons. But it does use QDialogButtonBox, which (theoretically) has QDialogButtonBox.Yes/NoToAll

I'll look into it. Because I've bumped into that too, and PyQt doesn't feel quite as much like black magic as it once did to me.

Quote:
Originally Posted by MarjaE View Post
Okay, I'm getting the hang of this.

To add to tags, use include_subject_tagscategory name)

To add to a custom column, use custom_columns_settings:
and
(space)(category name)=>#(column),a
Correct.

Assuming "(category name)" == "metadata entry" (eg, status, genre, category, characters, ships, etc, etc).

The [code] wrapper is very useful for showing whitespace and not triggering smileys etc.

I try to use the phrase "metadata entry" consistently. 'category' is already one of the entries, and metadata as an adjective only to avoid any discussion of data vs datum.
JimmXinu is offline   Reply With Quote