Skip to content

sjorge/jellyfin-webhook-anilistwatched

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Update watched status on anilist from jellyfin webhook call.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published