This CLI tool is meant to be used in conjunction with the Anilist metadata provider for Plex for curating local anime collections to be consumed with Plex.
Install:
deno install --unstable --allow-net --allow-read --allow-write https://raw.githubusercontent.com/sachaw/anime_organizer/master/cli.tsRun from Repository
deno run --unstable --allow-net --allow-read --allow-write cli.tsThe CLI provides directory scanning and reporting based on predefined filters:
| Filter | Description |
|---|---|
| Base | Performs REGEX matching on folder names to enable identification via Anilist ID's |
| Fetch data | Fetches all required data from the Anilist API |
| Incomplete name | Validates the filename save naming convention based on the Anilist API response |
| Contains folder | Checks if any subdirectories are present |
| Filetype | Checks if all files are MKV's |
| Total episodes | Compares the number of files with the total reported from the Anilist API |