This is an "all-in-one" book metadata provider for AudiobookShelf that can currently pull metadata from Goodreads and Kindle Store.
Current metadata providers plan to be improved, and other metadata providers are on the roadmap.
Please open issues for feature requests or new provider suggestions!
I'm glad you asked - It's a fun play on words. AudiobookShelf is often abbreviated to ABS. Books can have abstracts. Plus, we are abstracting away the provision of metadata from AudiobookShelf. Therefore, abs-tract seemed suitably punny 💩
- A very good provider of general metadata for books.
- Covers are quite low quality and often missing completely (see FAQ for reasoning)
- Goodreads has poor search functionality, making finding a matching book sometimes very difficult. Your mileage may vary. 90% of my library is able to be matched. See FAQ for tips on finding a match
- Title
- Author
- Cover - Low quality. Sometimes missing (see FAQ)
- Original Publish Year
- Series Name
- Series Position
- Description - of "best" edition chosen by Goodreads
- Genres - Top 3 chosen by Goodreads users
- ISBN - of "best" edition chosen by Goodreads. Sometimes missing
- Publisher - of "best" edition chosen by Goodreads
- Language - of "best" edition chosen by Goodreads
- Provides extremely high quality covers. Will make your eyes cry with happiness.
- Currently, not much metadata is provided
- Title
- Author
- Cover - Crazy high quality
- Publish Year - of edition chosen by Amazon. Not original publish year
- ASIN
The best way to run abs-tract is to use Docker. To run abs-tract using Docker, use the following command:
docker run -d \
--name abs-tract \
-p 5555:5555 \
--restart unless-stopped \
arranhs/abs-tract:latest
Test if abs-tract is working using curl.
ADDRESS=localhost
curl --request GET \
--url "https://$ADDRESS:5555/goodreads/search?query=The+Hobbit&author=J.R.R.+Tolkien"
ADDRESS=localhost
curl --request GET \
--url "https://$ADDRESS:5555/kindle/uk/search?query=The+Hobbit&author=J.R.R.+Tolkien"
You can then set up abs-tract in AudiobookShelf.
Settings -> Item Metadata Utils -> Custom Metadata Providers -> Add
and enter the following details:
- Name: GoodReads
- URL:
https://<your_address>:5555/goodreads
- e.g.
192.168.1.100:5555/goodreads
- e.g.
- Authorization Header Value: Leave this unset
- Name: Kindle
- URL:
https://<your_address>:5555/kindle/<your_region>
- e.g.
192.168.1.100:5555/kindle/uk
- e.g.
- Authorization Header Value: Leave this unset
Region can be one of the following:
- au - Australia
- ca - Canada
- de - Germany
- es - Spain
- fr - France
- in - India
- it - Italy
- jp - Japan
- uk - United Kingdom
- us - United States
The Goodreads API sometimes does not return cover images due to a variety of factors, usually related to copyright and the requirement to honor terms and conditions. Unfortunately, this is not something we can fix while using the Goodreads API - covers will need to be sourced from elsewhere.
Yes, since 8th, December 2020, Goodreads no longer issues new API keys and plans to retire their API entirely in the future.
However, thanks to LazyLibrarian, we can use the read-only key they provide until Goodreads shuts down the API for good.
See the FAQ below for a possible future alternative way to retrieve Goodreads metadata, which could be used if/when Goodreads fully shuts down their API.
There are several issues with using the Goodreads API to retrieve book metadata.
To solve some of these issues, there is a plan at some point in the future to migrate to scraping metadata from Goodreads instead of using their API (BiblioReads does this). This is still in the works, but any help towards this goal is much appreciated.