Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.56 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.56 KB

Anilist Watched

Jellyfin webhook target that will mark shows as watched on anilist.

To install dependencies:

bun install

Copy bin/jw-anilist-watched to somewhere in your path.

# local user
cp bin/jw-anilist-watched ~/.local/bin

# system wide
sudo cp bin/jw-anilist-watched /usr/local/bin

Configuration

Anilist Token

  1. visit https://anilist.co/settings/developer
  2. click Create New Client
  3. enter https://anilist.co/api/v2/oauth/pin as the Redirect URL
  4. approve the generated token by visting https://anilist.co/api/v2/oauth/authorize?client_id={clientID}&response_type=token (do not forget to replace clientID in the URL!)
akiba configure --anilist-token MY_VERY_LONG_TOKEN_STRING_HERE

Jellyfin API key

API key is needed to lookup the Anilist ID from the series, the PlaybackStop notification for episodes which we need for scrobbling does not include those.

akiba configure --jellyfin-api-key MY_API_KEY

Jellyfin webhook

This will only work when the AniList ProviderID is present, this should be the case when anilist is the highest provider set for the library.

  1. Install the webhook plugin in Jellyfin
  2. Go to the webhook plugin configuration page
  3. Click Add Generic Destination
  4. Set the Webhook Url to the URL where anilist-watched is listening and use the / endpoint e.g. http://localhost:4035/
  5. Only check Playback Stop under Notification Type
  6. Only check your user under User Filter
  7. Only check Episodes under Item Type
  8. Check Send All Properties (ignores template)