Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2024, 12:07 PM   #9901
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,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
You've given one story URL without any indication of how it changed.

All I can do with that is confirm that trying it twice finds the existing book--which I have; including with a virtual library selected that doesn't show that book.

Personally, I use FFF's log page feature and record the story URL as well as title, author, etc. Perhaps I should make that the default.

Or is there a history somewhere on SB I don't know about?
JimmXinu is offline   Reply With Quote
Old 09-05-2024, 03:30 PM   #9902
sandmanwake
Enthusiast
sandmanwake has learned how to buy an e-book online
 
Posts: 26
Karma: 82
Join Date: Aug 2018
Device: none
Quote:
Originally Posted by JimmXinu View Post
You've given one story URL without any indication of how it changed.
Sorry about that. I just didn't have any previously downloaded examples to provide since whenever the error pops up, I just deleted all old copies and downloaded from scratch.

Thinking about it more, the error might be related to why you added the new code for SB/SV/QQ in the first place. I think what might be happening is that whenever an author changed either the story's title or their name, the previous version of FFF I had added a second copy of the story even though there was already an old copy of the story downloaded. So now there's two or more downloaded stories with the same thread id number from the same website.

Then, I upgraded FFF's version with the new code and it sees multiple stories with the same thread id number already existing due to the previous version of FFF and throws that error. Hence why it seemed random to me why some stories threw an error and some didn't.

Sometimes the change in title or name was small enough I missed that there was even a change or the title or name changed entirely and I don't notice that there are two copies of the same stories going by different titles or having different author names.

So in conclusion, maybe there's nothing wrong with the current version of FFF and it'll all work out once I clear all duplicate downloaded stories caused by the previous version of FFF.
sandmanwake is offline   Reply With Quote
Advert
Old 09-05-2024, 04:40 PM   #9903
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,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
That sounds very plausible.

Keep an eye on it, and save both story URLs if you see it happen again.
JimmXinu is offline   Reply With Quote
Old 09-08-2024, 03:54 PM   #9904
julo
Enthusiast
julo began at the beginning.
 
Posts: 47
Karma: 12
Join Date: Apr 2010
Location: Pittsburgh area
Device: prs-505,900,T2
add tags to title page

Is there a way to add tags to Titlepage for FineStories, SciFiStories, etc?
For score this works
Quote:
add_to_titlepage_entries:,score
but neither
Quote:
add_to_titlepage_entries:,score,tags
nor
Quote:
add_to_titlepage_entries:,score
add_to_titlepage_entries:,tags
works for tags.
Is it possible and, if so, what are the magic characters?

Last edited by julo; 09-08-2024 at 03:56 PM.
julo is offline   Reply With Quote
Old 09-08-2024, 04:23 PM   #9905
Clem2605
Enthusiast
Clem2605 began at the beginning.
 
Posts: 37
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
While updating my fanfictions I'm getting an unknown error for a few of them:

Code:
bad escape (end of pattern) at position 4
I'm wondering what it means?

I've been heavily playing with my personal.ini lately, but since the error only appears half consistently, I don't think it's the problem?

(By half consistently, I mean that as far as I can see, 4 of my stories always have an error when I try to update, but around 15 others have brought it up once on the 3 times I tried to update them)

Last edited by Clem2605; 09-08-2024 at 04:24 PM. Reason: forgot a word
Clem2605 is offline   Reply With Quote
Advert
Old 09-08-2024, 04:52 PM   #9906
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,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by julo View Post
Is there a way to add tags to Titlepage for FineStories, SciFiStories, etc?
For score this works
but neither
norworks for tags.
Is it possible and, if so, what are the magic characters?
Try sitetags not just 'tags'.

Quote:
Originally Posted by Clem2605 View Post
While updating my fanfictions I'm getting an unknown error for a few of them:

Code:
bad escape (end of pattern) at position 4
I'm wondering what it means?
Maybe it's a regexp issue? Run in debug mode, try again, view the log. Post the debug log here if you need help reading it.
JimmXinu is offline   Reply With Quote
Old 09-08-2024, 05:35 PM   #9907
Clem2605
Enthusiast
Clem2605 began at the beginning.
 
Posts: 37
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Quote:
Originally Posted by JimmXinu View Post
Try sitetags not just 'tags'.


Maybe it's a regexp issue? Run in debug mode, try again, view the log. Post the debug log here if you need help reading it.
...

Turns out that, if you forget to escape the '\' in the output, everything breaks...

(in my defense, it is rather hard to read bug reports when the position is also initialized after every '=>')

Thank you!
Clem2605 is offline   Reply With Quote
Old 09-08-2024, 08:41 PM   #9908
julo
Enthusiast
julo began at the beginning.
 
Posts: 47
Karma: 12
Join Date: Apr 2010
Location: Pittsburgh area
Device: prs-505,900,T2
Quote:
Originally Posted by JimmXinu View Post
Try sitetags not just 'tags'.
Thank you; that works. Add to the wiki?

Last edited by julo; 09-09-2024 at 08:41 AM.
julo is offline   Reply With Quote
Old 09-09-2024, 02:43 PM   #9909
sable
Member
sable began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Aug 2024
Device: kobo clara bw
Would it be possible to add the release date of a chapter to the chapter title/bookmark?
sable is offline   Reply With Quote
Old 09-09-2024, 03:16 PM   #9910
sable
Member
sable began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Aug 2024
Device: kobo clara bw
I presume I can add it to chapter_title_def_pattern in my personal.ini, but don't know the right variable name (or if the variable even exists)...
sable is offline   Reply With Quote
Old 09-09-2024, 08:26 PM   #9911
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,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
There are only a few sites that have dates on chapters FFF can read. Notably, AO3 and Xenforo forum sites (SB/SV).

Search in defaults.ini for tocpage_entry to see which sites support what additional data items.

It's been a while since it was last discussed.
JimmXinu is offline   Reply With Quote
Old 09-10-2024, 06:40 AM   #9912
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: 9,332
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Out of curiosity, when updating multiple fics, does FFF do any prioritization, or do them in the same order as listed?
ownedbycats is offline   Reply With Quote
Old 09-10-2024, 07:02 AM   #9913
sable
Member
sable began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Aug 2024
Device: kobo clara bw
The job got stuck and in the log I found an exception. I made an issue on the github repo: https://github.com/JimmXinu/FanFicFare/issues/1105
sable is offline   Reply With Quote
Old 09-10-2024, 09:31 AM   #9914
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,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ownedbycats View Post
Out of curiosity, when updating multiple fics, does FFF do any prioritization, or do them in the same order as listed?
If updating a list of selected books in your library, the order given will be used.

When getting URLs from emails, a set() is used to remove duplicates. I believe Python's set() returns them in an 'undefined' order.

When giving a list of URLs, I believe the order is used.

In all cases, when it gets to the background job, a parallel job is launched for each different site in the list so stories from different sites can download simultaneously.
JimmXinu is offline   Reply With Quote
Old 09-10-2024, 03:32 PM   #9915
Homer55
Enthusiast
Homer55 began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Aug 2016
Device: Kindle
Hi!, I'm encountering some trouble with xenforo and tags.
This is the normal code that I had have for some time:
Quote:
[base_xenforoforum]
include_in_category:category,tagsfromtitle,parentf orums
Category=>genre,tagsfromtitle
skip_threadmarks_categories:Staff Post
order_threadmarks_by_date:true
I have a custom column called "Fandom" and I have in the custom columns settings that "Category" should fill the "fandom" column. When downloading the following story: https://forums.spacebattles.com/thre...solid.1110955/
the title and "fandom"column are as follow:

Title: Magical Espionage Action
Fandom: Harry Potter, Metal Gear, Metal Gear Solid, Wizarding World

wanting to clean the "fandom" column I added the following to the bottom of the previous code
Quote:
add_to_replace_metadata:
(Harry Potter|Wizarding World)=>HP
(Metal Gear|Metal Gear Solid)=>Metal Gear
And wanting to see if I did this correctly, I downloaded the story again and now the title and fandom column looks as follow:

Title: Magical Espionage Action (HP/Metal Gear Solid)
Fandom: HP, Magical Espionage Action (HP/Metal Gear Solid), Magical Espionage Action (HP/Metal Gear Solid)), Metal Gear, Metal Gear Solid

the same thing happened when downloading other stories that I tried to clean for example a story from QQ (NSFW link removed--JimmXinu as mod) was changed to:[NSFW]Tech is harder than diamonds (SU) and the fandom was:[NSFW]Tech is harder than diamonds (SU) (yes the same as the title)

So either I'm doing something wrong, or there is a bug in the code.
Hope someone can help me and thanks!

Edit: I realized that just having "add_to_replace_metadata:" even without anything under it (I noticed because I forgot to comment it) causes this except nothing gets replaced, which is to be expected seeing as no replacement tags were indicated.

Last edited by JimmXinu; 09-10-2024 at 05:10 PM. Reason: Remove NSFW link
Homer55 is offline   Reply With Quote
Reply

Tags
fanfiction

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 494 05-18-2024 02:34 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 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 04:46 PM.


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