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 06-14-2019, 08:24 PM   #3496
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I would argue that, yes, you can do what you describe. Your issue is that you also want all the metadata benefits of FFF+Calibre.
JimmXinu is offline   Reply With Quote
Old 06-14-2019, 08:32 PM   #3497
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JimmXinu View Post
A number of things the FFF plugin does are simply not available when called via calibre CLI. That includes GUI user interactions and calling other plugins--such as Generate Cover.

In theory, all of the core FFF functions (download, update Calibre metadata, do conversion if optioned) could be re-coded to work from the CLI, but not calling other plugins--not without also incorporating their features or re-writing them.
Is it because the other plugins don't support the calibre CLI? Or is there something else going on? I rarely use the CLI, so haven't done much testing of how the plugins work.
davidfor is offline   Reply With Quote
Advert
Old 06-14-2019, 11:37 PM   #3498
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I'm speaking from a memory that is a bit hazy about things that may be a bit dated, so no promises this is correct or current.
  • Lack of GUI user interactions is obvious. FFF has a significant number of places it solicits user input.
  • FFF (plugin) is structured to run downloads in Calibre's background processing framework. Plugin CLI doesn't have that available.
  • Plugins find each other (and many built-in 'Actions' such as Convert Books, Remove Books, etc) through self.gui.iactions. Plugin CLI doesn't have self.gui available to call them through. And plugins frequently need self.gui also. Heck, could Generate Cover even find fonts without gui access?
  • I'm not 100% clear on why GUI plugins are supposed to use self.gui.proceed_question() to ensure library database consistency but CLI is allowed to update (via server)--looks like the same conflicts to me.
JimmXinu is offline   Reply With Quote
Old 06-15-2019, 12:13 PM   #3499
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2018-06-15
- adapter_asianfanficscom json fixes - thanks oh45454545
JimmXinu is offline   Reply With Quote
Old 06-15-2019, 07:49 PM   #3500
Ryune
Enthusiast
Ryune began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Nov 2017
Device: PRS-950, IPhone, Oasis 2
So a question about Webnovel.com. I currently have a free reading coupon because I set up a new account. I put in my login information in the personal.ini but it seems that I can only download chapters that are free to the public. Is this an issue with the whole "not a robot" dialogue that just can't be bypassed by FFF?
Ryune is offline   Reply With Quote
Advert
Old 06-15-2019, 08:14 PM   #3501
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The short answer is that FFF doesn't login to webnovel.com and only downloads free content. I'm not interested in trying to past their pay wall for both logistical and ethical reasons.
JimmXinu is offline   Reply With Quote
Old 06-15-2019, 08:16 PM   #3502
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2018-06-15
- adapter_asianfanficscom json fixes - thanks oh45454545
- adapter_asianfanficscom foreword json fix - thanks oh45454545
JimmXinu is offline   Reply With Quote
Old 06-16-2019, 02:01 PM   #3503
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2018-06-16
- Update included dependencies -- mostly for Calibre 2.85.1.

Calibre v3 includes BS4 which FFF now uses. But earlier Calibre versions didn't, so FFF includes its own copy of a few dependencies.

To match the BS4 version in use in Cal3, I've updated to include BS4.7.1 which also needs soupsieve and backports, now included.

I see that officially FFF is still supporting Cal 1.48, but that's been 5 years gone, so I'm going to move minimum version up to Cal2.85.1 next release.
JimmXinu is offline   Reply With Quote
Old 06-16-2019, 05:10 PM   #3504
marshie250
Enthusiast
marshie250 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jun 2019
Device: Kobo
Title-casing Metadata

Hi! I've been doing a lot of testing and research, but I've come up empty. Is there a way to title-case metadata? For example, to make sure characters' names are properly capitalized and not in all caps or all lowercase.
marshie250 is offline   Reply With Quote
Old 06-16-2019, 05:44 PM   #3505
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by marshie250 View Post
Hi! I've been doing a lot of testing and research, but I've come up empty. Is there a way to title-case metadata? For example, to make sure characters' names are properly capitalized and not in all caps or all lowercase.
There isn't a general feature for it.

But a few adapters apply python's title() function to some metadata entries:

adapter_fanficauthorsnet: author
adapter_fireflyfansnet: genre
adapter_literotica: category & eroticatags
adapter_shriftweborgbfa: author
adapter_wwwaneroticstorycom: title & genre
adapter_wwwlushstoriescom: title

And the base_xenforoforum adapters (Sufficient Velocity, Space Battles, Alternate History and Questionable Questing) have an optional feature (capitalize_forumtags) that apply a modified python title() function to the forumtags metadata entries.

It mostly depends on whether the developer implementing the site thought it was useful or not.
JimmXinu is offline   Reply With Quote
Old 06-19-2019, 02:40 AM   #3506
noirverse
Member
noirverse began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2016
Device: Iphone 5
changing metadata tags

Hi, I've been searching for an answer to my questions but have come up empty on how to implement what I want. Is there a way to make the fic metadata uploaded in the tags column not upload there and instead upload into a custom column? Alternatively, I've been searching for a way to eliminate tags like "Complete" or "Fanfiction" from the metadata tags section as I have my dedicated custom columns for a few things like a fic's status and would like to do away with duplicates.

My current failed attempt to remove extra tags:

[archiveofourown.org]
exclude_metadata_pre:
extratags,genre,category==ships
extratags,genre,category==FanFiction
extratags,genre,category==status

Thank you for any help or pointers!
noirverse is offline   Reply With Quote
Old 06-19-2019, 11:06 AM   #3507
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
@noirverse - What goes in Calibre's Tags field is controlled by FFF's personal.ini settings include_subject_tags and extra_subject_tags. (This is a bit different than other metadata for historical reasons.)

In your personal.ini, you can set the value to something else:

Code:
[defaults]

## The default value is: 
## include_subject_tags: extratags, genre, category, characters, ships, status

## remove all from tags:
include_subject_tags:
JimmXinu is offline   Reply With Quote
Old 06-19-2019, 12:16 PM   #3508
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Is there any way to check a bunch of links to see if they are online before I update? That way I wouldn't have to check every link separately?
Tanjamuse is offline   Reply With Quote
Old 06-19-2019, 12:30 PM   #3509
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,994
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Is there any way to check a bunch of links to see if they are online before I update? That way I wouldn't have to check every link separately?
That's rather vague, can you be more specific?

Because I'm reading it as: "Is there a way to check links, before I check links, so I don't have to check links?"

...without defining what 'link' or 'check' mean in this context.
JimmXinu is offline   Reply With Quote
Old 06-19-2019, 12:33 PM   #3510
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
When I download from AO3 it adds all the links to the queue even if not all the stories are existing. Is there a way to check first which links I need to update/download instead of adding all the links and therefore also the ones which no longer exists. I don't know if it happens on FFnet as well.
Tanjamuse 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 08:49 PM.


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