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
- visit https://anilist.co/settings/developer
- click Create New Client
- enter
https://anilist.co/api/v2/oauth/pin
as the Redirect URL - 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
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
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.
- Install the webhook plugin in Jellyfin
- Go to the webhook plugin configuration page
- Click
Add Generic Destination
- Set the
Webhook Url
to the URL where anilist-watched is listening and use the / endpoint e.g.http://localhost:4035/
- Only check
Playback Stop
underNotification Type
- Only check your user under
User Filter
- Only check
Episodes
underItem Type
- Check
Send All Properties (ignores template)