No description
  • C# 54.8%
  • CSS 27.2%
  • HTML 16%
  • JavaScript 1.3%
  • Dockerfile 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
coding-agent b4e13e9866
All checks were successful
Build and Deploy / version (push) Successful in 4s
Build and Deploy / build-web (push) Successful in 31s
Build and Deploy / build-api (push) Successful in 20s
fix: always show Confidence column in proposals table
- 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
2026-07-27 18:37:16 +00:00
.forgejo/workflows ci: add build and deploy workflow for web and API services 2026-06-26 16:48:43 +02:00
.github/workflows ci: add build and deploy workflow for web and API services 2026-06-26 16:48:43 +02:00
.opencode/commands feat: add UI/UX code review guidelines 2026-07-27 14:31:01 +02:00
docs Add code review results 2026-06-29 18:47:47 +02:00
src fix: always show Confidence column in proposals table 2026-07-27 18:37:16 +00:00
tests feat: add auto-approve and smart duplicate detection 2026-07-27 18:07:14 +00:00
.dockerignore Add Docker support and core functionality for media renaming 2026-01-29 18:37:04 +01:00
.gitattributes cleanup .gitattributes 2026-02-18 10:20:29 +00:00
.gitignore Implement database persistence for rename proposals and update app settings 2026-01-30 17:27:01 +01:00
.repomixignore Add initial project structure and configuration files for MediaRenamer 2026-01-29 17:53:30 +01:00
docker-compose.yml feat: add auto-approve and smart duplicate detection 2026-07-27 18:07:14 +00:00
LICENSE Initial commit 2026-01-29 15:14:45 +01:00
MediaRenamer.sln build(deps): update NuGet packages to latest versions 2026-02-17 22:16:01 +01:00
README.md feat: add auto-approve and smart duplicate detection 2026-07-27 18:07:14 +00:00
repomix.config.json Add initial project structure and configuration files for MediaRenamer 2026-01-29 17:53:30 +01:00
TODO.md docs: update TODO with completed features 2026-07-27 18:17:00 +00:00

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.