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 10-20-2020, 04:01 AM   #4681
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
Quote:
Originally Posted by JimmXinu View Post
I'm thinking something very similar.

However, I'm reluctant to remove the existing top level menu options to a) not take them away from people used to clicking them and b) not mess up existing keyboard shortcuts.
I think it is also a question of what ist easier/better to maintain (for you) and for future changes to implement.

And how likely it is that this change will come some time anyway.
To make this now or do it later after other adjustments that have been done must be included.


Otherwise I would prefer Option 3.
The existing menu stays as it is but user have an option to costumize some things for themself.
But it also depends on what options you think could be implemented with this.

I´d say to do a poll
but I fear there would not be a huge response - as not all who use FFF are in this forum. And even here not many have taken part in the discussion yet.
ILB is offline   Reply With Quote
Old 10-20-2020, 12:13 PM   #4682
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Alpha Test Version Attached

2020-10-20
- Adds 'Actions by Update Mode' menu

Under 'Actions by Update Mode', each action (that leads to downloads/updates where there is a choice of Update Mode) has a menu listing the update modes available for it.

This is a first cut and it touches some sensitive code, so it's here instead of in the usual test version spot to indicate it is a bit more 'test' than usual.

Each action - mode combo also has a shortcut available for hotkeys and can be used with the Favourites plugin. My expectation is that hotkeys and Favourites will be the primary modes of use for these.

Ideas/issues I am considering:
  • Should the 'Actions by Update Modes' menu be configurably available/hidden?
  • Should a 'download immediately' option for Update Existing and Update Anthology be available? Email has one, but it's different code.
  • Does 'From Web Page' belong in the 'Actions by Update Modes' list?
  • Should the 'Update Anthology Epub' action menu be under 'Anthology Options' instead?
  • Should email/anthology/from saved column menu items be concealed when not configured/available?
  • What should happen with epub update modes when the default format is not epub? Current behavior is to fall back to first available update mode. Skip for 'From URLs', Overwrite if newer for updates.
  • Update Mode is locked when called from 'Actions by Update Modes'. Should it be?

EDIT -- There is a bug in this version that expressed when using a different language and the translated strings. Alpha indeed.

Last edited by JimmXinu; 10-20-2020 at 07:36 PM. Reason: Remove obsolete test version
JimmXinu is offline   Reply With Quote
Advert
Old 10-20-2020, 12:36 PM   #4683
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
[*]Update Mode is locked when called from 'Actions by Update Modes'. Should it be?
I'm not really a fan of it myself, but I'm not sure if leaving it unlocked could have unintentional effect.
ownedbycats is offline   Reply With Quote
Old 10-20-2020, 12:40 PM   #4684
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also, in case it somehow slipped by (instead of it just a WIP thing), there's missing icons here. Doesn't look very nice on the Favourites menu.

Click image for larger version

Name:	2020-10-20 13_39_12-Customize Favourites Menu.png
Views:	221
Size:	56.7 KB
ID:	182894
ownedbycats is offline   Reply With Quote
Old 10-20-2020, 12:55 PM   #4685
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I skipped the icons on the sub menu items to avoid menus full of all the same icon. But I can add them.

Also, Favourites lets you check the text if you double-click it. I thought that was pretty cool.
JimmXinu is offline   Reply With Quote
Advert
Old 10-20-2020, 01:02 PM   #4686
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
As can be seen in my screenshot, I used it to shorten down some of the really, really, really, really, really long Job Spy menu item names.
ownedbycats is offline   Reply With Quote
Old 10-20-2020, 06:54 PM   #4687
midnightmane
Member
midnightmane began at the beginning.
 
Posts: 22
Karma: 12
Join Date: Feb 2016
Device: Kindle/Calibre
I can't really remember where I was reading it from but there used to be a feature in fanficFare where you can have it save all the metadata for story in a separate column is it still possible to do that?

Last edited by midnightmane; 10-20-2020 at 06:58 PM.
midnightmane is offline   Reply With Quote
Old 10-20-2020, 07:48 PM   #4688
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by midnightmane View Post
I can't really remember where I was reading it from but there used to be a feature in fanficFare where you can have it save all the metadata for story in a separate column is it still possible to do that?
It's still there. Use a Long Text column(text, not HTML preferred), then look for the setting in FFF config, Custom Columns tab, 2nd from the bottom setting.
JimmXinu is offline   Reply With Quote
Old 10-20-2020, 07:51 PM   #4689
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Alpha Test Version Attached

2020-10-20
- Adds 'Actions by Update Mode' menu
- Include icons
- Fix for email immediate download when not using English.

One more 'alpha' level test version before going back to the 'general' test level.

Quote:
Originally Posted by JimmXinu View Post
Alpha Test Version Attached

2020-10-20
- Adds 'Actions by Update Mode' menu

Under 'Actions by Update Mode', each action (that leads to downloads/updates where there is a choice of Update Mode) has a menu listing the update modes available for it.

This is a first cut and it touches some sensitive code, so it's here instead of in the usual test version spot to indicate it is a bit more 'test' than usual.

Each action - mode combo also has a shortcut available for hotkeys and can be used with the Favourites plugin. My expectation is that hotkeys and Favourites will be the primary modes of use for these.

Ideas/issues I am considering:
  • Should the 'Actions by Update Modes' menu be configurably available/hidden?
  • Should a 'download immediately' option for Update Existing and Update Anthology be available? Email has one, but it's different code.
  • Does 'From Web Page' belong in the 'Actions by Update Modes' list?
  • Should the 'Update Anthology Epub' action menu be under 'Anthology Options' instead?
  • Should email/anthology/from saved column menu items be concealed when not configured/available?
  • What should happen with epub update modes when the default format is not epub? Current behavior is to fall back to first available update mode. Skip for 'From URLs', Overwrite if newer for updates.
  • Update Mode is locked when called from 'Actions by Update Modes'. Should it be?

EDIT -- There is a bug in this version that expressed when using a different language and the translated strings. Alpha indeed.

Last edited by JimmXinu; 10-21-2020 at 11:45 AM. Reason: Remove obsolete test version
JimmXinu is offline   Reply With Quote
Old 10-20-2020, 08:36 PM   #4690
midnightmane
Member
midnightmane began at the beginning.
 
Posts: 22
Karma: 12
Join Date: Feb 2016
Device: Kindle/Calibre
Quote:
Originally Posted by JimmXinu View Post
It's still there. Use a Long Text column(text, not HTML preferred), then look for the setting in FFF config, Custom Columns tab, 2nd from the bottom setting.
Thank You!
midnightmane is offline   Reply With Quote
Old 10-20-2020, 09:13 PM   #4691
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'm having a bit of trouble with a replace_metadata. Again.

Code:
## Category standardization and deduplication
 category=>\([0-9]+\)|\(Video Game\)|\(Video Games\)|(|- Fandom\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
 category=>(^2010: The Year We Make Contact$|^Space Odyssey Series - Arthur C. Clarke$)=>2001: A Space Odyssey
I tried this on these two fics:
https://archiveofourown.org/works/24955804
https://archiveofourown.org/works/22459162

In both of them, "2010: The Year We Make Contact" remained (thus causing it to be marked as crossover). I think I had this problem before but of course I can't remember what I did to fix it. Any suggestions?

EDIT: Removing the ^ and $ caused it to merge in....but the second one got marked as a crossover anyways. I'm confused.

EDIT: While I'm asking about it anyways, is doing this possible within replace_metadatas?

Click image for larger version

Name:	2020-10-20 22_41_58-Editing metadata for 2 books.png
Views:	218
Size:	48.3 KB
ID:	182899

Last edited by ownedbycats; 10-20-2020 at 11:43 PM.
ownedbycats is offline   Reply With Quote
Old 10-21-2020, 11:45 AM   #4692
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-10-21
- Fixes for Fiction.live URLs re: #559 and #573 -- Thanks, HazelSh!

(includes previous 'alpha' level test changes)
JimmXinu is offline   Reply With Quote
Old 10-21-2020, 02:32 PM   #4693
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
I'm having a bit of trouble with a replace_metadata. Again.
When aren't you?

I don't see anything wrong with the first line. It removed the '(years)' strings.

The second line doesn't catch 2010: The Year We Make Contact because internally:

"2010: The Year We Make Contact (1984)" -> "2010: The Year We Make Contact_"

which doesn't match ^2010: The Year We Make Contact$.

You can either:
Code:
## Category standardization and deduplication
 category=> *\([0-9]+\)|\(Video Game\)|\(Video Games\)|(|- Fandom\(Movies\)|\(Movie [0-9]+\)|\(Comics\)|\(TV\))$=>
## or
 category=>(^2010: The Year We Make Contact *$|^Space Odyssey Series - Arthur C. Clarke$)=>2001: A Space Odyssey
Note the " *" are <space>*

You may want to change the first list to also clear leading and trailing spaces. I would have assumed FFF would strip them, but apparently not running multiple sequential patterns. (I'm not going to offer to change the code for fear of it breaking everybody's existing patterns.)

Re: the image question:

FFF's storyId metadata entry already contains the number you are extracting from the URL, and equivalent ID's from other sites.

FFF does not have an mechanism for populating any identifier subfield other than url. What is it you use your identifier:ao3 values for?

Just in case, I should mention: I strongly do not recommend changing the metadata storyUrl or calibre's identifier:url. FFF uses those to identify stories.
JimmXinu is offline   Reply With Quote
Old 10-21-2020, 02:49 PM   #4694
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I forgot about the trailing space. Thank you.

Re: identifiers:

The ffnet and ao3 identifiers are mostly just to make things look a bit tidier in the book details. Also if a fic is crossposted I can have both of them available.

I keep the url: on in-progress fics just so that FFF doesn't have to go rummaging around looking for them in the ePubs.

It's just a matter of a few extra clicks to run the search & replaces (and I do it anyways to remove the @cleanup tag) so it's not a big deal.

Last edited by ownedbycats; 10-22-2020 at 03:38 PM.
ownedbycats is offline   Reply With Quote
Old 10-22-2020, 02:08 PM   #4695
asimo962
Junior Member
asimo962 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2020
Device: none
hi, new to fanficfare and I'm not sure if I'm doing something wrong, but when i download stories from forum based websites like spacebattles, sufficientvelocity, etc it works fine but when i try to open the epub its stuck perpetually loading and i can only view the stories if i convert it to another format. anyone have this problem before? I'm using the calibre plugin
asimo962 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 05:52 AM.


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