Crates.io | plex-mal-scrobbler |
lib.rs | plex-mal-scrobbler |
version | 0.1.2 |
source | src |
created_at | 2023-10-10 19:21:13.872792 |
updated_at | 2023-11-30 15:55:36.868206 |
description | Update anime watch progress to MyAnimeList using Plex webhooks |
homepage | https://miicat.eu |
repository | https://gitlab.com/miicat/plex-mal-scrobbler |
max_upload_size | |
id | 999403 |
size | 108,130 |
PlexMALScrobbler is a Plex webhook listener, which will update anime watch progress to MyAnimeList using it's API.
cargo install plex-mal-scrobbler
~/.config/plex-mal-scrobbler/config.yml
code
parameter value from the URLgit clone https://gitlab.com/miicat/plex-mal-scrobbler.git
cargo build --release
plex-mal-scrobbler/target/release/plex-mal-scrobbler
) to a folder you will run the program in (e.g. ~/plexmalscrobbler/
)config.yml.sample
sample file to ~/.config/plex-mal-scrobbler/config.yml
code
parameter value from the URLThe file should be in ~/.config/plex-mal-scrobbler/config.yml
, it will contain your MAL API tokens and other scrobbling related settings
mal_client_id
is MAL client_id
obtained from MAL API page. See [Obtaining MAL API key](###Obtaining MAL API key)plex_users
is a list of users to scrobble. Comment the line out, if you want to scrobble all users (note that all scrobbles will be made for your account)plex_libraries
is a list of libraries to scrobble. Comment the line out, if you want to scrobble all libraries (not recommended)scrobble_last_ep
if enabled, the program will mark anime as complete, after watching last episoderequire_match
if enabled, the program will scrobble anime only if the title matches some anime in your watching listport
port the program will listen on. By default it's 8000
mal_access_token
mal_refresh_token
mal_token_expires_in
test
is testing flag, will print anime update info and won't scrobble if enabledExample configuration:
mal_client_id: abcd123456789efghijk
plex_users:
- MyNeatUserName22
plex_libraries:
- Anime
- Other animes
scrobble_last_ep: false
require_match: false
test: false
mal_client_id
Plex will send webhooks to your URL whenever you play, pause, stop or scrobble videos on your Plex server. Plex sends scrobble webhook, when you have watched past the 90% mark.
PlexMALScrobbler as the name suggests will only act when getting scrobble webhook.
http://127.0.0.1:8000/plex/webhook
PlexMALScrobbler will try to match the anime to an anime on your currently watching list
PlexMALScrobbler is free, open-source software licensed under AGPLv3.
You can open issues for bugs you've found or features you think are missing. You can also submit pull requests to this repository.
If you want to support me, feel free to use paypal
This library is licensed under AGPLv3