advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.7k stars 472 forks source link

[Enhancement]: import directly from a user's libro.fm library #2112

Open vbatts opened 1 year ago

vbatts commented 1 year ago

Describe the feature/enhancement

user story

as a user (myself) that purchases books through https://libro.fm (to support my local bookseller), I would like to have a workflow to automatically (or at least painlessly) download the item to my audiobookshelf instance with the cover art, description, isbn, etc.

current workflow

I must (per book):

Caveat

Libro.fm does not currently have an API access. So fetching a user's library, item, and book metadata is not currently a feature, but this is aspirational. And I've reached out to their "contact us" expressing this interest.

advplyr commented 1 year ago

My first thought is that this is outside of the scope of Abs. There are some open feature requests related to this though:

You mention that you are manually scanning the library. Is there a reason you are not able to use the watcher that would automatically scan in the new book?

vbatts commented 1 year ago

good references of enhancements that would help that process out a lot!

As for the watcher, I'll have to investigate that functionality.

naglis commented 10 months ago

FWIW, I checked the Libro.fm Android app (v7.6.1, build: 194) to figure out the endpoints of their private API. The three essential calls are:

donkevlar commented 3 months ago

If someone stumbles on this thread again, I found a repo which might be useful for the self hosters out there.

https://github.com/jedwards1230/libro-client

Im going to try it out, but from my initial testing it could help you setup an automated workflow for importing your purchased books.