-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The --selectid option gets only the last ID in the list #60
Comments
If you use the same two IDs in a list and reverse their position, does it get the opposite book? |
No; in fact I'm confused now. It doesn't get either one when I reverse the
positions. It's almost like being the first one on the list poisons that ID
so it can't be downloaded.
…On Thu, Dec 28, 2023 at 6:41 AM collinscochran ***@***.***> wrote:
If you use the same two IDs in a list and reverse their position, does it
get the opposite book?
—
Reply to this email directly, view it on GitHub
<#60 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ7H6MKEF4HODJNQNXH733YLWAJLAVCNFSM6AAAAABAAFFUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGIZTMNJQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Very odd, I'm currently using that same workflow (####### ####### ####### etc) to download specific ID's and it seems to work. These are just values you pulled from the |
Yes, the IDs in the json loans dump. I'm trying to make this work as a replacement for a python script that does this all automatically (and got taken down from github, probably for that reason, so let's be careful). So you're saying you run |
Yeah, try it without the The command I'm running now which works is That will run through the list and skip any missing/not available, and leave them in my /mnt/audiobooks folder as m4b's with chapters. |
CONFIRMED! Thank you, this gives me enough to press forward - the problem must have been in the combination of |
Um, yeah, I meant |
No problem! I'm doing basically the same thing as you... i scrape for loaned books, if the array of ID changes it compares, then automatically downloads the |
Describe the problem
When processing a loan export to get the books I hadn't previously downloaded and moved to their final resting place, I find that the
--selectid
option only downloads one book, the last ID on the list.To Reproduce
Download your loan file
odmpy libby --loans
, grab a few IDs from it. Run 'em using the batch mode:odmpy libby --bookfolderformat './tmp/%(ID)s' --hideprogress --direct --selectid 4790886 4565785
Result:
No error printed, but it only got the one book. I've tried this with multiple IDs, no success.
Version/Environment
odmpy 0.8.1 [Python 3.10.12-linux]
The text was updated successfully, but these errors were encountered: