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-09-2025, 05:04 AM   #11356
frenchtoast
Junior Member
frenchtoast began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2025
Device: Kobo Libra Colour
Thank you all for the replies! I do indeed have Kobo Utilities. But when I do the above - say I have a WIP marked as finished in Kobo, when a new chapter comes in and I update it with new chapter, it's still marked as finished on Kobo. The "restore current bookmark" doesn't seem to work cos I see the Kobo reading location reads something like "OEBPS/title_page.xhtml#kobo.1.1" or OEBPS/cover.xhtml#kobo.1.1 which opens the book to the cover page. Is there any workaround to this other than manually setting it to the last page before I update the book?
frenchtoast is offline   Reply With Quote
Old 10-09-2025, 07:50 AM   #11357
marshie250
Enthusiast
marshie250 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Jun 2019
Device: Kobo
Quote:
Originally Posted by frenchtoast View Post
Thank you all for the replies! I do indeed have Kobo Utilities. But when I do the above - say I have a WIP marked as finished in Kobo, when a new chapter comes in and I update it with new chapter, it's still marked as finished on Kobo. The "restore current bookmark" doesn't seem to work cos I see the Kobo reading location reads something like "OEBPS/title_page.xhtml#kobo.1.1" or OEBPS/cover.xhtml#kobo.1.1 which opens the book to the cover page. Is there any workaround to this other than manually setting it to the last page before I update the book?
That is something that happens- I have an action chain that changes the bookmark for me, so the newest chapter opens up when I click the book. Its a bit involved, however. Do you have a custom column set up for Kobo Utilities to record the Current reading location?
marshie250 is offline   Reply With Quote
Advert
Old 10-09-2025, 08:14 AM   #11358
frenchtoast
Junior Member
frenchtoast began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2025
Device: Kobo Libra Colour
Yep I do!
frenchtoast is offline   Reply With Quote
Old Yesterday, 02:17 AM   #11359
bpothier
Member
bpothier began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2020
Device: Kobo
SOL renewal notification

Have an odd issue w/ SOL adapter (yeah, yeah.. your *FAVORITE* one..
For paid users, there is an option to pop-up a reminder when their account is XX (default 3 days, but I bumped mine to 30...) days before expiration/renewal.
During this time, FFF "breaks" as story access goes to an intermediate page during the notification timeframe.
There is a link to "renew now" or "remind later"(url = /sol-secure/user/later.php?refer= ORIGPATH).

Code:
<h3 class="c">Notification!</h3>
<h4 class="c">Your premier membership is going to expire in less than 30 days</h4>
<h4 class="c"><a href="https://storyroom.com/sol-secure/subscribe.php">Renew</a> &nbsp; &nbsp; <a href="https://storyroom.com/sol-secure/user/later.php?refer=%2Fn%2F11600%2Fpollyanna">Remind Me Later</a></h4>
I was trying to add checks for it within performLogin, but they did not trip.
The intermediate page only shows when "doExtractChapterUrlsAndMetadata" accesses an actual story URL...
I tried adding the "Your premier membership is going to expire" to list of errors in "needToLoginCheck", but this doesn't really alert user to *why* it failed..
Using web, clicking the remind later link then allows direct story accesses.
It appears that the "later.php" sets a 48h or so cookie (called "pena") that will allow story accesses without the intermediate page.

Is there a way - within Calibre plugin - to raise an exception/pop-up to the user and still allow the connection thru (by accessing the later.php and getting the cookie...)?

Or maybe access the "later.php" page, silently accept the cookie and then fail the job - and user can see the error message and then re-initiate?

I saw the TOTP code, but not sure this works with Calibre - and is also in login code, not chapter code..

Last edited by bpothier; Yesterday at 02:31 AM.
bpothier is offline   Reply With Quote
Old Yesterday, 10:11 AM   #11360
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,095
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by bpothier View Post
Have an odd issue w/ SOL adapter (yeah, yeah.. your *FAVORITE* one..
For paid users, there is an option to pop-up a reminder when their account is XX (default 3 days, but I bumped mine to 30...) days before expiration/renewal.
This is an *optional* SOL feature? Not a default setting?

Because in that case, I'm going to say the obvious solution is "don't turn that feature on", just like FFF doesn't try to support all themes/skins for all sites.

But if somebody codes a solution for this, I'll accept it.
JimmXinu is offline   Reply With Quote
Advert
Old Yesterday, 12:15 PM   #11361
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,095
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-10-10
- OTW(AO3): Accept /chapter/999 URLs without /works/999 for #1258 -- Use download link to get storyId.
JimmXinu is offline   Reply With Quote
Old Yesterday, 03:53 PM   #11362
bpothier
Member
bpothier began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2020
Device: Kobo
Quote:
Originally Posted by JimmXinu View Post
This is an *optional* SOL feature? Not a default setting?

Because in that case, I'm going to say the obvious solution is "don't turn that feature on", just like FFF doesn't try to support all themes/skins for all sites.

But if somebody codes a solution for this, I'll accept it.
For paid users, it defaults to 3 days. If your account expires, it defaults to "free" mode and is subject to the random "mangling" feature it implements for suspected "bots" (adds typos, etc..) ... I increased mine to 30 days as a reminder after it happened last year..

Currently, FFF reports the usual "NoneType object is not subscriptable" error during this pop-up phase, so not very helpful. I suppose adding an Exception type would at least allow reporting back *why* it failed (e.g. , but looking to add the minimum additional code to facilitate future maintenance... Likely at a minimum, would require adding exception class and handler and triggering the exception in the chapter function.

Looks like something similar to how "exceptions.AdultCheckRequired" uses "question_dialog_all" may be able to interactively prompt to accept/bypass the expire warning... well, I have 20+ days to work on and test it

For now, reducing the expiration notice time allows FFF to process normally.
bpothier is offline   Reply With Quote
Old Yesterday, 04:06 PM   #11363
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,095
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by bpothier View Post
Looks like something similar to how "exceptions.AdultCheckRequired" uses "question_dialog_all" may be able to interactively prompt to accept/bypass the expire warning... well, I have 20+ days to work on and test it

For now, reducing the expiration notice time allows FFF to process normally.
I'm not interested in adding a new exception path to bubble this up to the UI level--it's too niche.

I'd accept a specific download failure exception message, it could include a brief mention of turning off the reminder. Or (optional?) bypass code.
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 527 08-15-2025 01:36 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 04:23 AM.


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