You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plex webhook service to automatically update your Anilist watching list.
4
4
5
5
## Description
6
6
7
-
plex-anihook is a web server that will consume incoming Plex webhooks and update your Anilist watching list whenever you finish watching an episode.
7
+
anifunnel is a web server that will consume incoming Plex webhooks and update your Anilist watching list whenever you finish watching an episode.
8
8
9
9
The updating logic is rather conservative: the anime must be found within your watching list, and must have a matching episode count. So if you watch the first episode of a show, it will not add the show to your watching list on your own. Likewise, if you watch episode six of a show that matches a title where you have only the first two episodes marked as watched, it will also not update it, as it's looking for an anime that is at
10
10
11
-
plex-anihook implements fuzzy matching logic to allow the updating the work even if the titles aren't an exact match between your Plex library and Anilist. So for example "Boku no Hero Academia 6" can be matched against "Boku no Hero Academia (2022)" and "Uzaki-chan wa Asobitai! ω" can be matched against "Uzaki-chan wa Asobitai! Double".
11
+
anifunnel implements fuzzy matching logic to allow the updating the work even if the titles aren't an exact match between your Plex library and Anilist. So for example "Boku no Hero Academia 6" can be matched against "Boku no Hero Academia (2022)" and "Uzaki-chan wa Asobitai! ω" can be matched against "Uzaki-chan wa Asobitai! Double".
12
12
13
13
## Usage
14
14
15
15
### Authorization
16
16
17
-
Before starting to use plex-anihook, you must fetch an API token.
17
+
Before starting to use anifunnel, you must fetch an API token.
18
18
19
19
In order to fetch your token, visit the following URL in your browser: https://anilist.co/api/v2/oauth/authorize?client_id=9878&response_type=token
20
20
@@ -25,28 +25,32 @@ Note that Anilist authorization tokens are valid for a year at a time.
25
25
To start the web server, use the following command:
26
26
27
27
```bash
28
-
plex-anihook<ANILIST_TOKEN>
28
+
anifunnel<ANILIST_TOKEN>
29
29
```
30
30
31
-
To get complete usage details, run `plex-anihook --help`.
31
+
To get complete usage details, run `anifunnel --help`.
32
32
33
-
The alternative (and arguably easier) way to run plex-anihook is to use the ready-made Docker image.
33
+
The alternative (and arguably easier) way to run anifunnel is to use the ready-made Docker image.
34
34
35
35
```bash
36
36
docker run \
37
37
-p 8000:8000 \
38
38
-e "ANILIST_TOKEN=xxx" \
39
-
ghcr.io/hamuko/plex-anihook:latest
39
+
ghcr.io/hamuko/anifunnel:latest
40
40
```
41
41
42
42
Both `linux/amd64` and `linux/arm64` Docker image variants are available.
43
43
44
44
### Enabling webhooks in Plex
45
45
46
-
In order to send events from Plex to plex-anihook, add the URL where your Plex server can reach plex-anihook in Plex's Webhook settings.
46
+
In order to send events from Plex to anifunnel, add the URL where your Plex server can reach anifunnel in Plex's Webhook settings.
47
47
48
48
The webhook handler responds on `/`, so if you were running the server on your local Plex server on port 8001, you'd use `http://127.0.0.1:8001/` as the webhook URL.
49
49
50
50
For more information, see https://support.plex.tv/articles/115002267687-webhooks/
51
51
52
52
Note that webhooks require a Plex Pass subscription.
53
+
54
+
## Disclaimer
55
+
56
+
This project is not associated or affiliated with Plex or Anilist in any way or form.
0 commit comments