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-20-2025, 02:56 AM   #346
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by PeterT View Post
Skip the line is a random occurrence when you have a hold on a book, and you're a long way back in the queue. It gives you a 7 day loan on the book (as opposed to my standard 21 day), and retains your queue position.

See https://help.libbyapp.com/en-us/6172.htm

I'm going to have to wait until I finish this book before I can experiment.
Sounds the same - see https://resources.overdrive.com/libr...res/lucky-day/

Also when I go to libbyapp.com and search for 'Skip the line' internally it is performing an api request with the parameters
Code:
showOnlyLuckyDayAvailable=true&excludeNormallyAvailable=true
It only shows six results but the borrow button is enabled for all of them if I search for them in the plugin.
sgmoore is offline   Reply With Quote
Old 06-20-2025, 07:14 PM   #347
sweth
Connoisseur
sweth began at the beginning.
 
Posts: 68
Karma: 10
Join Date: May 2015
Device: Kindle Fire 7 (7G), Kindle PW (2G), Kindle Scribe
Cannot open prefs screen?

I just installed the plugin with calibre 8.5 on windows 11. When I try to open the prefs to configure the plugin (from either prefs->advanced->plugins->customize or from the menu item->customize), calibre just hangs, and i have to force quit it and restart.
sweth is offline   Reply With Quote
Old 06-21-2025, 07:01 AM   #348
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by sweth View Post
I just installed the plugin with calibre 8.5 on windows 11. When I try to open the prefs to configure the plugin (from either prefs->advanced->plugins->customize or from the menu item->customize), calibre just hangs, and i have to force quit it and restart.
I can't think of anything that could cause a hang, so the most likely case is that Windows has decided to display the window off-screen.

If you try it again and then hold down the Windows key and press the arrow keys to see if it becomes visible. Or try holding both Ctrl and Windows keys and press the left and right arrows keys a couple of times.

Failing that there are a couple of other methods detailed here.
sgmoore is offline   Reply With Quote
Old 07-11-2025, 12:52 PM   #349
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by sgmoore View Post
> Does the plugin support borrowing of a "Skip the Line" book?

I'm not sure. If this is just another name of the 'Lucky Day Copy' then it should be supported.

What happens if you try searching for that book on the advanced search tab? If the borrow button is still disabled there (but enabled on the website) would you mind saving the search results and either upload the json file or send it to me.
OK dokie.. Unfortunately wasn't able to figure out how to screen-capture calibre on a chromebook so had to resort to camera pictures. Noe that in the HOLDS tab the book shows as 0 days, but borrow is greyed out. On the Search tab, borrow is available.
Attached Thumbnails
Click image for larger version

Name:	plugin_holds_tab.jpg
Views:	19
Size:	248.4 KB
ID:	216848   Click image for larger version

Name:	plugins_search_tab.jpg
Views:	14
Size:	248.4 KB
ID:	216849  
Attached Files
File Type: txt miranda_json.txt (14.8 KB, 5 views)
PeterT is offline   Reply With Quote
Old 07-11-2025, 01:01 PM   #350
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Additionally here is the calibre debug log if this helps
Attached Files
File Type: txt calibre-debug-log.txt (241.8 KB, 6 views)
PeterT is offline   Reply With Quote
Old 07-12-2025, 04:28 AM   #351
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by PeterT View Post
... in the HOLDS tab the book shows as 0 days, but borrow is greyed out. On the Search tab, borrow is available.
Can you try the version at https://github.com/sgmoore/libby-cal...cts/3518302464
sgmoore is offline   Reply With Quote
Old 07-12-2025, 07:27 AM   #352
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by sgmoore View Post
Just a note for anyone who wants to try this plugin, you need to be logged into Github before you can download it.
JSWolf is offline   Reply With Quote
Old 07-12-2025, 08:59 AM   #353
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by sgmoore View Post
I will but unfortunately that skip the line loan has expired I will let you know as soon as I get a candidate loan again.
PeterT is offline   Reply With Quote
Old 07-12-2025, 05:05 PM   #354
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Ok. Had another loan show up today. Onyx Storm. While yes, the Borrow button was available, clicking it resulted in
Spoiler:

Code:
calibre, version 8.6.0
ERROR: Unhandled exception: <b>ClientBadRequestError</b>: Failed to borrow book<p>This title is no longer available. You may be able to place it on hold, or add it to your wish list and borrow it later. [errorcode: TitleNoLongerAvailable]</p>

calibre 8.6  embedded-python: True
Linux-6.6.76-08024-gb30cb4a129c2-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '6.6.76-08024-gb30cb4a129c2', '#1 SMP PREEMPT_DYNAMIC Fri, 25 Apr 2025 05:08:33 -0700')
Python 3.11.12
Interface language: None
EXE path: /opt/calibre/bin/calibre-debug
Successfully initialized third party plugins: DeACSM (0, 0, 16) && LCPL Input (0, 0, 5) && DeDRM (10, 0, 9) && Annotations (1, 17, 13) && Backup Configuration Folder (1, 1, 2) && EpubMerge (3, 2, 0) && EpubSplit (3, 11, 0) && Find Duplicates (1, 10, 9) && Goodreads (1, 8, 3) && Kindle hi-res covers (0, 5, 1) && Kobo Metadata (1, 11, 0) && Kobo Utilities (2, 23, 0) && Manage Series (1, 5, 2) && OverDrive Libby (0, 2, 102) && Quality Check (1, 14, 2) && Reading List (1, 15, 6) && SmartEject (2, 6, 1) && View Manager (1, 10, 3)
Traceback (most recent call last):
  File "calibre_plugins.overdrive_libby.libby.client", line 522, in _send_request
    response = req_opener.open(req, timeout=self.timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "urllib/request.py", line 525, in open
  File "urllib/request.py", line 634, in http_response
  File "urllib/request.py", line 563, in error
  File "urllib/request.py", line 496, in _call_chain
  File "urllib/request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 400: Bad Request

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "calibre/gui2/threaded_jobs.py", line 85, in start_work
  File "calibre_plugins.overdrive_libby.borrow_book", line 40, in __call__
    loan = libby_client.borrow_media(media, card, is_lucky_day_loan)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.overdrive_libby.libby.client", line 950, in borrow_media
    return self.borrow_title(
           ^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.overdrive_libby.libby.client", line 925, in borrow_title
    res: Dict = self.send_request(
                ^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.overdrive_libby.libby.client", line 599, in send_request
    return self._send_request(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.overdrive_libby.libby.client", line 542, in _send_request
    ErrorHandler.process(e, error_response)
  File "calibre_plugins.overdrive_libby.libby.errors", line 124, in process
    raise error_info["error"](
calibre_plugins.overdrive_libby.libby.errors.ClientBadRequestError: <calibre_plugins.overdrive_libby.libby.errors.ClientBadRequestError; http_status=400, msg='This title is no longer available. You may be able to place it on hold, or add it to your wish list and borrow it later. [errorcode: TitleNoLongerAvailable]', error_response='{"result":"upstream_failure","upstream":{"errorCode":"TitleNoLongerAvailable","service":"THUNDER","httpStatus":400,"userExplanation":"This title is no longer available. You may be able to place it on hold, or add it to your wish list and borrow it later.","correlationId":"ea9444c32103fdafd05589a9a5d26d9e"}}''>

|Admittedly this might have been a second click on the button; the first time had no error and no change to any status so I assumed the click had not registered.

Luckily I was in debug mode, so attached find the JSON from a search and the log.
Attached Files
File Type: txt onyx_storm_json.txt (12.3 KB, 10 views)
File Type: txt calibre-debug-log.txt (167.1 KB, 8 views)
PeterT is offline   Reply With Quote
Old 07-13-2025, 04:28 AM   #355
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by PeterT View Post
Ok. Had another loan show up today. Onyx Storm. While yes, the Borrow button was available, clicking it resulted in ...
If you refresh the details of the holds - is the borrow button still enabled and if so, does the same error occur when you click it?

The search results shows that your library has 150 copies of this book, but only 1 copy was available at the time of the search. So the only explanation I can think is that someone else borrowed the book after you performed the search but before you tried to borrow the book.
sgmoore is offline   Reply With Quote
Old 07-13-2025, 03:59 PM   #356
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
A refresh shows the book as still available.

A borrow from the search menu works correctly.
PeterT is offline   Reply With Quote
Old 07-14-2025, 06:47 AM   #357
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by PeterT View Post
A refresh shows the book as still available.

A borrow from the search menu works correctly.
OK. I'll take a look and see if there is any difference between how the borrow works in those places.
sgmoore is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Overdrive Link jhowell Plugins 1291 04-14-2025 03:46 PM
No Local Public Library. Overdrive/Libby Possible? enuddleyarbl Kobo Reader 2 06-08-2023 07:23 PM
Library borrowing: Overdrive vs. Libby haertig General Discussions 83 01-30-2023 04:21 PM
Libby, the new Overdrive App Cosimo News 30 12-02-2017 09:42 AM
Overdrive's Libby Loves2Read4Fun General Discussions 2 12-20-2016 01:32 PM


All times are GMT -4. The time now is 12:11 PM.


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