Library Management
Manage your anime collection with multi-source storage and automatic metadata matching.
Overview
milmil's library system lets you organize and manage anime files from multiple storage backends. Files are automatically scanned, identified, and matched to anime entries with metadata from Bangumi, AniList, and DandanPlay.
Storage Backends
| Backend | Description |
|---|---|
| Local | Directories on the host filesystem |
| SMB/CIFS | Windows network shares |
| SFTP | SSH file transfer |
| FTP | Standard FTP |
| WebDAV | Cloud storage (Nextcloud, etc.) |
| HTTP | Direct HTTP file access |
| Rclone | 40+ cloud providers (Google Drive, OneDrive, Dropbox, S3, etc.) |
Scanning
When you scan a library, milmil:
Discover files
Walks the directory tree to discover media files.
Extract metadata
Extracts metadata using FFmpeg (codec, resolution, duration, subtitles).
Match anime
Matches files to anime entries using multiple providers.
Enrich episodes
Enriches episodes with cover images, titles, and descriptions.
Scans can be triggered manually or configured to run automatically on a schedule.
Metadata Matching
milmil uses a multi-provider matching pipeline:
- DandanPlay Hash — Most accurate, matches by file hash
- Bangumi — Title-based matching against the Bangumi database
- AniList — Alternative title matching
- TMDB — Fallback cross-reference
Unmatched files can be manually matched from the library detail page.
Expected Library Structure
File Browser
The library detail page includes a file browser that shows:
- Directory tree with file counts
- Media file details (codec, resolution, size)
- Match status for each file
- Bulk match/unmatch operations