Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahobsonsayers authored Apr 26, 2024
1 parent 0370b5e commit d85f93a
Showing 1 changed file with 79 additions and 10 deletions.
89 changes: 79 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,48 @@
# abs-goodreads

A Goodreads Custom Metadata Provider for AudioBookShelf.

## Run
# abs-tract

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!
#### Why the name abs-tract?

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 providing of metadata from AudioBookShelf. Therefore abs-tract seemed suitably punny 💩
## Providers

### Goodreads

#### Pros:
- A very good provider of general metadata for books.
#### Cons:
- 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
#### Metadata Provided:
- 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 Goodreadns
- Language - of "best" edition chosen by Goodreadns

### Kindle

#### Pros:
- Provides extremely high quality covers. Will make your eyes cry with happiness.
#### Cons:
- Currently not much metadata is provided
#### Metadata Provided:
- Title
- Author
- Cover - Crazy high quality
- Publish Year - of edition chosen by Amazon. **Not original publish year**
- ASIN
## Running

The best way to run abs-goodreads is to use docker.

Expand All @@ -18,13 +58,21 @@ docker run -d \

Test abs-goodreads is working using curl.

### Goodreads

```bash
ADDRESS=localhost
curl --request GET \
--url "http://$ADDRESS:5555/search?query=The+Hobbit&author=J.R.R.+Tolkien"
--url "http://$ADDRESS:5555/goodreads/search?query=The+Hobbit&author=J.R.R.+Tolkien"
```
### Kindle

## Setup
```bash
ADDRESS=localhost
curl --request GET \
--url "http://$ADDRESS:5555/kindle/uk/search?query=The+Hobbit&author=J.R.R.+Tolkien"
```
## Setup with AudioBookShelf

You can then set up abs-goodreads in AudioBookShelf.

Expand All @@ -34,17 +82,38 @@ Settings -> Item Metadata Utils -> Custom Metadata Providers -> Add

and entering the following details:

### Goodreads

- Name: **GoodReads**
- URL: **\<your_address\>:5555**
- URL: **http://\<your_address\>:5555/goodreads**
- Authorization Header Value: **\<leave this unset\>**

See video below for a walkthrough:
### Kindle

- Name: **Kindle**
- URL: **http://\<your_address\>:5555/kindle/\<your_region\>
- Authorization Header Value: **\<leave this unset\>

Region can be one of the following:

- au - Australia
- ca - Canada
- de - Germany
- es - Spain
- fr - Franch
- in - Indian
- it - Italy
- jp - Japan
- uk - United Kingdom
- us - United States

### Setup video walkthrough:

https://github.com/ahobsonsayers/abs-goodreads/assets/32173585/54437af6-a17c-4458-bb82-479b183171da

## FAQ

### Why are covers not being returned?
### Why is Goodreads not returning some covers?

The Goodreads API will sometimes not return cover images due to a variety of factors, usually related to copyright and the requirement to honour terms and conditions. Unfortunately, this is not something we can fix while using the Goodreads API - covers will need to be sourced from elsewhere.

Expand Down

0 comments on commit d85f93a

Please sign in to comment.