No description
- C# 54.8%
- CSS 27.2%
- HTML 16%
- JavaScript 1.3%
- Dockerfile 0.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Remove responsive hiding (hidden xl:table-cell) from Confidence column - Increase table min-width from 800px to 1000px to accommodate column - Confidence percentage now visible on all screen sizes |
||
| .forgejo/workflows | ||
| .github/workflows | ||
| .opencode/commands | ||
| docs | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .gitattributes | ||
| .gitignore | ||
| .repomixignore | ||
| docker-compose.yml | ||
| LICENSE | ||
| MediaRenamer.sln | ||
| README.md | ||
| repomix.config.json | ||
| TODO.md | ||
MediaRenamer
MediaRenamer is an automated media file renaming tool designed for organizing movie and TV series collections. It scans files, fetches metadata from TMDB, generates rename proposals, and provides a web UI for approval via a .NET-based API and Blazor frontend.
Key Features
- Automatic detection of media files (MKV, MP4) with resolution and codec extraction using MediaInfo.
- TMDB integration for accurate German-language titles, episode details, and movie info.
- Background file watcher service for real-time scanning of watch directories.
- Web dashboard with live proposals, one-click approve/reject, and stats.
- Batch operations: Select multiple proposals and approve/reject them at once.
- Keyboard shortcuts: Navigate with ↑/↓, approve with A, reject with R, select with Space.
- Auto-Approve: Automatically approve proposals with high confidence (configurable threshold).
- Smart Duplicate Detection: Warns when same movie/episode exists with different codec or resolution.
- Docker Compose support for easy deployment of API and web services.
Quick Start
- Clone the repo and set TMDB_API_KEY environment variable (get from themoviedb.org).
- Configure paths in appsettings.json: WatchPath (input) and OutputPath (sorted).
- Run with Docker: docker-compose up.
- Access web UI at http://localhost:8081 to review/approve proposals.
Tailwind CSS Integration
.\tools\tailwindcss-windows-x64.exe -c tailwind.config.cjs -i Styles/app.input.css -o wwwroot/app.css --watch
Configuration
- appsettings.json (Api): Set Media:WatchPath and Media:OutputPath.
- appsettings.json (Api): Enable Media:EnableAutoApprove and set Media:AutoApproveConfidenceThreshold (default: 95%).
- docker-compose.yml: Maps volumes for data/watch and data/output; customize TMDBApiKey.
- docker-compose.yml: Set ENABLE_AUTO_APPROVE and AUTO_APPROVE_THRESHOLD environment variables.