Skip to content
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

anidb case sensitivity #2436

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions docs/config/anidb.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ anidb:

| Attribute | Allowed Values | Default | Required |
|:-------------------|:----------------------------------------------------------------------------------------------|:--------|:----------------------------------------:|
| `client` | AniDB Client Name | N/A | :fontawesome-solid-circle-xmark:{ .red } |
| `client` | AniDB Client Name. **must be lowercase** | N/A | :fontawesome-solid-circle-xmark:{ .red } |
| `version` | AniDB Client Version | N/A | :fontawesome-solid-circle-xmark:{ .red } |
| `language` | [ISO 639-1 Code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) of the User Language. | en | :fontawesome-solid-circle-xmark:{ .red } |
| `cache_expiration` | Number of days before each cache mapping expires and has to be re-cached. | 60 | :fontawesome-solid-circle-xmark:{ .red } |
Expand All @@ -48,19 +48,27 @@ matter.

![AniDB Add Client](images/anidb-2.png)

6. Come up with and enter a unique to AniDB Client Name
6. Come up with and enter a unique to AniDB Client Name.


7. Select `HTTP API` in the API Dropdown

8. Put `1` for Version.

![AniDB Client Page](images/anidb-3.png)

???+ example "Case Sensitivity"

When you press the "Add Client" button, the next page may display your client name as Title Case (i.e. `Mykometaproject` instead of `mykometaproject`.

Regardless of what the AniDB site shows, **you must enter your client name in full lowercase**


9. Put the Client Name and Client Version you just created in your config.yml as `client` and `version` respectively.

```yaml
anidb:
client: UniqueAniDBName
client: mykometaproject
version: 1
language: en
cache_expiration: 60
Expand Down
Binary file modified docs/config/images/anidb-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading