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-29-2024, 08:32 AM   #271
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: 106
Karma: 503426
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by foosion View Post
Plus, if possible, the "monitor folder for new acsm and if so download to calibre" function.
Calibre already has a built in option to do that.

I have mine setup to exclude all the files types that I don't want to automatically import especially pdf, txt and zip files so that it doesn't interfere with normal browser downloads.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-10-29 112340.png
Views:	12
Size:	32.5 KB
ID:	211731  
sgmoore is offline   Reply With Quote
Old 10-29-2024, 10:00 AM   #272
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 432
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by sgmoore View Post
Calibre already has a built in option to do that.

I have mine setup to exclude all the files types that I don't want to automatically import especially pdf, txt and zip files so that it doesn't interfere with normal browser downloads.
Very nice. Thank you for pointing that out.

Is it possible to figure out automatically which page libbyapp.com goes to when you click "Manage Loan" for a specific book from the first page (my browser is not showing a link when I hover)? How about the link for "Read with ..." from that page?
foosion is offline   Reply With Quote
Old 10-29-2024, 11:51 AM   #273
miss_p1nky
Connoisseur
miss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enough
 
Posts: 58
Karma: 636
Join Date: Aug 2022
Location: Indonesia
Device: Moon+ Reader Pro
Quote:
Originally Posted by foosion View Post
Yes. Right-clicking on Libby leads me to a page that lets me read the book on my computer ("open book"), but not download the acsm. Overdrive leads me to a page that allows me to borrow the book (perhaps because I have multiple cards and it defaults to one that may not have been the one I borrowed from).

At the bottom of the libby page there's a "read with ..." and underlined epub, but clicking on epub just gives me a popup saying download a file that can be read, rather than downloading the file.

I have the feeling I'm missing something.

Plus, if possible, the "monitor folder for new acsm and if so download to calibre" function.

EDIT: The useful links, from which I can download the acsm file, are in the form https://libbyapp.com/shelf/loans/123...012345/fulfill
I don't think the plugin will ever be able to pinpoint to the exact libby page of the book just like OD does. They're different in that matter. Even in Libby's native search, it will show you the book and the list of libraries having it or not having it, it never shows you the book page directly like OD. So you're asking too much here and not something possible. The plugin was mainly created to make it easier to manage books across different libraries and I think it has done so good so far. Though I'll always mourn the loss of the download feature.

If you'd like to go to a certain libby page, use Library Extension or better, libbysearch.com. But those 2 are search website/add-on, not to manage your Libby holds & loans.

Downloading ACSM always takes several steps even when it was still in OD. First you borrow, second you click Download EPUB, third you accept that it can only be opened in ADE, only after that a save dialogue appears. Libby also the same, you click Borrow, you click Manage Loan, click Read With, click EPUB. Even when the plugin was working, it can't condense the steps into one.

Last edited by miss_p1nky; 10-29-2024 at 11:55 AM.
miss_p1nky is offline   Reply With Quote
Old 10-29-2024, 02:54 PM   #274
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: 106
Karma: 503426
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by foosion View Post
The useful links, from which I can download the acsm file, are in the form https://libbyapp.com/shelf/loans/123...012345/fulfill
Quote:
Originally Posted by miss_p1nky View Post
I don't think the plugin will ever be able to pinpoint to the exact libby page of the book just like OD does. .
Actually it may be possible to get to the https://libbyapp.com/shelf/loans/xxxx-yyyy/fulfill page which is probably one click away from actually downloading the book.

The xxxx part looks like it is the card number and the yyyy is the book id.

If you want to test this you can download a quick hacked version which adds opening this url as an extra step when you click on the download.

This isn't released yet but you can download it from https://github.com/sgmoore/libby-cal...cts/2119132360

Note this is an extra step, so the plugin still attempts to download the book, so when you come back to calibre, it be will displaying the error saying the download failed.

Please test and report back especially if you have multiple libraries.
sgmoore is offline   Reply With Quote
Old 10-29-2024, 03:28 PM   #275
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 432
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by sgmoore View Post
Actually it may be possible to get to the https://libbyapp.com/shelf/loans/xxxx-yyyy/fulfill page which is probably one click away from actually downloading the book.

The xxxx part looks like it is the card number and the yyyy is the book id.

If you want to test this you can download a quick hacked version which adds opening this url as an extra step when you click on the download.

This isn't released yet but you can download it from https://github.com/sgmoore/libby-cal...cts/2119132360

Note this is an extra step, so the plugin still attempts to download the book, so when you come back to calibre, it be will displaying the error saying the download failed.

Please test and report back especially if you have multiple libraries.
Based on quick tests with a few different libraries, it worked perfectly (other than as you noted getting the download failed error). Excellent!

This plus Calibre's automatic adding function make it much easier to download books.

If it's not too much work, could you also remove the attempted download feature, so that we don't get the 403 error?



EDIT: If I click download immediately after borrowing libbyapp won't find the loan. If I wait a few seconds and refresh it's there.

Last edited by foosion; 10-29-2024 at 04:33 PM.
foosion is offline   Reply With Quote
Old 10-29-2024, 04:37 PM   #276
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: 106
Karma: 503426
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by foosion View Post

If it's not too much work, could you also remove the attempted download feature, so that we don't get the 403 error?
Sure. https://github.com/sgmoore/libby-cal...cts/2119616222

Just one thing to be aware of. This creates an empty book entry when you click on the download button This wasn't deliberate but on the other hand it is handy if you have the plugin configured to fill in tags or some custom columns, so I quite like the feature.

When you import the actual ebook I would assume that the entries will be merged.

But I can forsee it causing confusion if you aren't aware of this, so I may disable this by default and provide a way to enabling it for some - but that will take a little more time.
sgmoore is offline   Reply With Quote
Old 10-29-2024, 04:50 PM   #277
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 432
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by sgmoore View Post
Sure. https://github.com/sgmoore/libby-cal...cts/2119616222

Just one thing to be aware of. This creates an empty book entry when you click on the download button This wasn't deliberate but on the other hand it is handy if you have the plugin configured to fill in tags or some custom columns, so I quite like the feature.

When you import the actual ebook I would assume that the entries will be merged.

But I can forsee it causing confusion if you aren't aware of this, so I may disable this by default and provide a way to enabling it for some - but that will take a little more time.
And since it first creates an empty book Calibre asks if you want to add the duplicate. When you get the chance, please disable it. Otherwise, works very nicely.

Only slightly more clicks than the old download button. The process goes through the libby website, which libby seems to want.

Last edited by foosion; 10-29-2024 at 04:56 PM.
foosion is offline   Reply With Quote
Old 10-29-2024, 06:08 PM   #278
ComputerGranny
Junior Member
ComputerGranny began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2013
Device: None
Thanks

Quote:
Originally Posted by foosion View Post
Libby changed things internally so the version of the plugin you are using doesn't work any more. You should use the latest, which is posted by sgmoore a few posts above. Using the sonos code does no longer works, at least not for many. You might want to read back a bunch of posts to see various issues with the plugin, including losing the ability to download.
I appreciate you responding. I was afraid it was something like this. I have been reading back through the thread for quite a while, but just don't seem to understand all the issues. I'll keep working at it and look for the version of plugin you recommend.

Thanks for trying to educate this old gal.
ComputerGranny is offline   Reply With Quote
Old 10-29-2024, 06:32 PM   #279
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: 106
Karma: 503426
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by foosion View Post
And since it first creates an empty book Calibre asks if you want to add the duplicate. When you get the chance, please disable it.
Try https://github.com/sgmoore/libby-cal...cts/2120115337

Can you also tell me what happens if you hold down shift while clicking on the download button. It will open two urls and the first is the same as before, but what happens with the second. (This is a very long shot and doesn't work for me so I don't expect it will work for you, but things that work for me don't seem to work of some users and vice-versa, so you never know)
sgmoore is offline   Reply With Quote
Old 10-29-2024, 07:24 PM   #280
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 432
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by sgmoore View Post
Try https://github.com/sgmoore/libby-cal...cts/2120115337

Can you also tell me what happens if you hold down shift while clicking on the download button. It will open two urls and the first is the same as before, but what happens with the second. (This is a very long shot and doesn't work for me so I don't expect it will work for you, but things that work for me don't seem to work of some users and vice-versa, so you never know)
Regular click was perfect.

First try for shift-click got:

Unsolved problem
We're looking into what happened. Please give us a few minutes before trying again.

Guru Meditation: 500
foosion is offline   Reply With Quote
Old 10-29-2024, 08:25 PM   #281
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.
 
PeterT's Avatar
 
Posts: 12,726
Karma: 75000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by foosion View Post
Regular click was perfect.

First try for shift-click got:

Unsolved problem
We're looking into what happened. Please give us a few minutes before trying again.

Guru Meditation: 500
Same here; I will admit my environment is different to most; calibre on a Chromebook (so calibre is running in the linux environment0. Both URLs open as expected in my regular chrome browser on the chromeos desktop.
PeterT is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:54 AM.


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