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-30-2016, 11:56 AM   #676
cc_in_oh
Bob's my uncle
cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.
 
Posts: 984
Karma: 17073086
Join Date: Jul 2016
Location: NE OH
Device: Kindle
Quote:
Originally Posted by jhowell View Post
The plugin takes into account both the release date and the number of holds for pre-release books. If you have found a specific case where this is not being done let me know and I will try to fix the plugin. You can check the job log after an availability check to see all of the factors that went to the the wait weeks calculation for each book.
That's great - thanks for the info and sorry for incorrect assumption. In my case the release date is too soon to affect the estimated wait, so it's most likely working correctly.

I am still assuming that the plugin has no way of knowing the actual number of copies that will be available for a pre-release book so the estimate uses 1? It will be interesting to compare results after the release...
cc_in_oh is offline   Reply With Quote
Old 10-30-2016, 12:58 PM   #677
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by cc_in_oh View Post
I am still assuming that the plugin has no way of knowing the actual number of copies that will be available for a pre-release book so the estimate uses 1? It will be interesting to compare results after the release...
OverDrive makes available the number of copies purchased by the library. It is possible that some libraries may purchase additional copies around the time of release if there is a large hold queue for the book.
jhowell is offline   Reply With Quote
Old 11-02-2016, 07:46 PM   #678
cc_in_oh
Bob's my uncle
cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.
 
Posts: 984
Karma: 17073086
Join Date: Jul 2016
Location: NE OH
Device: Kindle
3 of my libraries had to be reconfigured - I tracked down new addresses and branch ID's and ran the check and repair links, but then 2 of the 3 were duplicated in the metadata ID's.

Re-running the availability check seems to have cleaned it up - is that the normal workflow to complete reconfiguration?

Thanks,
CC
cc_in_oh is offline   Reply With Quote
Old 11-03-2016, 08:22 AM   #679
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by cc_in_oh View Post
Re-running the availability check seems to have cleaned it up - is that the normal workflow to complete reconfiguration?
The new OverDrive sites have several internal changes that affect the plugin.

Library host names change, usually be removing ".lib" from the middle of the name. This changes the library ID used in the plugin and it must be changed manually in the configuration. Each book link also contains this ID. Use the "Check and repair book links" menu choice to fix them.

Branch ID numbers have also changed and must be manually fixed in the configuration. These are not part of links so no further action is needed for these.

The identifier associated with each book has also changed. The old OverDrive uses a UUID for each book, such as 476F5018-6E8F-43A2-AC79-92F279308114. The new OverDrive uses an integer, like 2650947, instead. This is the most difficult change to deal with because each book link contains these identifiers.

Searches done after the switch over return the new-style identifiers, but old-style identifiers will still be contained in book links created previously. Fortunately OverDrive still accepts the old-style UUIDs for now when accessing the web page for a book. This allows book links created before a library switched over to the new format to still function.

If the "Check current availability of selected books" menu choice is used on a book with links containing old-style book identifiers then it will determine the corresponding new identifier and update those links to the new style.

I also recommend using the "Update current availability of books with new links" configuration option since this will cause availability checks to be done automatically, migrating the links in the process.
jhowell is offline   Reply With Quote
Old 11-03-2016, 08:52 AM   #680
cc_in_oh
Bob's my uncle
cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.cc_in_oh ought to be getting tired of karma fortunes by now.
 
Posts: 984
Karma: 17073086
Join Date: Jul 2016
Location: NE OH
Device: Kindle
Thanks for the detailed info, and for the great work keeping the plugin compatible with the changes. I had to re-read my earlier posts to remember how to get the library links, so I thought it might be worth suggesting a mention in the help file?
cc_in_oh is offline   Reply With Quote
Old 11-04-2016, 02:05 AM   #681
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 521
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by jhowell View Post
Starting with version 2.0.0 of the plugin if a library owns no copies of a book it should not show at all under wait weeks and the book should be unlinked. If the library later obtains more copies then a new search will be required to link it again. If you have any specific cases of it not working that way let me know and I will try to fix it.
Brooklyn Public Library
Author: Stephen Coonts
Title: Fortunes of War

There are a bunch more by the same author. "Update Availability" doesn't clear out the existing link or change the availability. Unlinking the book then searching again puts it right back.
nabsltd is offline   Reply With Quote
Old 11-04-2016, 03:14 PM   #682
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by nabsltd View Post
"Update Availability" doesn't clear out the existing link or change the availability. Unlinking the book then searching again puts it right back.
Thanks. I was wrong about how it is working now.

I will go with your prior suggestion and change it to show an "XX" wait for that case in the next plugin release.
jhowell is offline   Reply With Quote
Old 11-06-2016, 11:13 AM   #683
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
During the 2.0.0 upgrade (I think), the right-click toolbar menu lost a lot of functionality. Ideally (IMHO) it would be more or less a clone of the main toolbar OverDrive menu (which IIRC it was identical before), but currently it seems to remain in some sort of default-ish state. Maybe it just isn't aware of the current book context for some reason? But I also see a reference to Project Gutenberg (which I don't have configured)...

I particularly noticed, because I can no longer right-click on a book to see what OverDrive libraries it can be borrowed from or recommended to.

I don't think that would have been deliberately changed ?? so could you please fix that?
eschwartz is offline   Reply With Quote
Old 11-06-2016, 06:14 PM   #684
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by eschwartz View Post
During the 2.0.0 upgrade (I think), the right-click toolbar menu lost a lot of functionality. ...
I am unable to duplicate this problem in my environment, calibre 2.71 64-bit under Windows 10. When I right-click a book I see "Overdrive" among the menu choices and when I move the cursor to that I see the same menu as I do when I click on the plugin icon.

The plugin generates its menu on-the-fly when it is about to be displayed. This is done by connecting to the "aboutToShow" signal of the menu using the Qt API. When the menu isn't expected to be shown a default menu is in place which exists to allow keyboard shortcuts to be associated with the plugin. That may be what you are seeing for some reason.
jhowell is offline   Reply With Quote
Old 11-07-2016, 08:33 AM   #685
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
calibre-git 2.71.r46.gf8c1dd4 on 32-bit Linux here, and that (default menu) is indeed what I am seeing for some reason, but I have no idea why.

I figured that wasn't deliberate. Any idea why that might happen?

Tonight I can try testing it with an earlier version of the plugin... (I actually have a bunch of plugins archived in git because $reasons.)
eschwartz is offline   Reply With Quote
Old 11-07-2016, 09:06 AM   #686
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by eschwartz View Post
Any idea why that might happen?

Tonight I can try testing it with an earlier version of the plugin...
I have no idea of what might be causing this. If you find out anything in your testing of earlier versions please let me know.
jhowell is offline   Reply With Quote
Old 11-07-2016, 04:56 PM   #687
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I can now confirm something retarded is happening, because 1.43.0 still (now?) has the same problem.
eschwartz is offline   Reply With Quote
Old 11-13-2016, 09:26 PM   #688
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 521
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by jhowell View Post
I will go with your prior suggestion and change it to show an "XX" wait for that case in the next plugin release.
Some of my personal issue has been solved by contacting BPL and letting them know about the books in question. They are in the process of purchasing new copies of the books. The last time I told them about similar issues, it took about a week before they showed up again.
nabsltd is offline   Reply With Quote
Old 11-14-2016, 01:15 AM   #689
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 521
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
I'm not sure how you calculate the wait time, but I'll throw out some thoughts about how to maybe make the numbers better fit reality.

For example, at one library, I see three different books that I was considering placing on hold, and both have a wait time of "02@" in the plugin. All have no other people waiting, but one has only 1 library copy, one has 2, and the third has 3. Granted, worst case is that every copy of all three books were checked out a few seconds ago, and they are all kept the maximum time. But, statistically, the book with three copies is much more likely to be available sooner...on average, I should get it in 1/3 of the max checkout time.

I noticed you already do some of this, in that a book with 2 copies at the library, none available, and one person waiting gives a 3-week wait, while a book with 1 copies at the library, none available, and one person waiting gives a 4-week wait.

The second thing I noticed is that it seems you assume that the max checkout is 2 weeks at all libraries. I have several with a max checkout of 3 weeks, and that was the default when I first created the account, so I suspect that many people would have left it there. If I want the book as fast as possible, but don't want to waste holds at a lot of libraries, the max checkout time makes a big difference when deciding which library to use.

For this, I don't even care if you can scrape the data from the website...I'd be willing to manually enter the max checkout time as part of the library config.
nabsltd is offline   Reply With Quote
Old 11-14-2016, 08:40 AM   #690
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by nabsltd View Post
I'm not sure how you calculate the wait time, but I'll throw out some thoughts about how to maybe make the numbers better fit reality.
The wait weeks value is meant to be a rough estimate. There are too many unknowns for it to be accurate.

An average of 2.5 weeks per loan is assumed regardless of library. Loans in progress are assumed to have half of this time remaining. Results are rounded up.

I could improve the algorithm to make some cases more accurate statistically, but I am not inclined to spend my time doing so.
jhowell is offline   Reply With Quote
Reply

Tags
id=model, overdrive


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] EpubSplit JimmXinu Plugins 458 Today 12:06 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] EpubMerge JimmXinu Plugins 560 06-09-2025 03:46 PM
[GUI Plugin] FanFictionDownLoader JimmXinu Plugins 3985 05-08-2015 11:18 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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