GoNamer is a powerful media file renaming tool that uses the TMDB API to automatically organize and rename your movie and TV show files based on accurate metadata.
Features
๐ฌ Automatic movie and TV show recognition
๐ Smart title detection with fuzzy matching
๐บ Episode and season number detection
๐ฏ TMDB API integration for accurate metadata
๐ Concurrent processing for better performance
๐พ Integrated caching system
๐ Customizable naming patterns
๐ Dry-run mode for safe testing
๐ Multi-language support
๐ Safe renaming with conflict prevention
Installation
Using Go
go install github.com/nouuu/gonamer/cmd@latest
From Source
git clone https://github.com/nouuu/gonamer.git
cd gonamer
make install
Package Managers
Coming soon:
Homebrew
APT
RPM
AUR
Quick Start
Set your TMDB API key:
export TMDB_API_KEY=your_api_key
Run GoNamer:
gonamer /path/to/media
Configuration
GoNamer can be configured using environment variables or a configuration file (coming soon):
TMDB_API_KEY=your_key # Required
MEDIA_PATH=./ # Path to scan
RECURSIVE=true # Scan subdirectories
INCLUDE_NOT_FOUND=false # Include unmatched files
DRY_RUN=true # Test without renaming
MOVIE_PATTERN="{name} - {year}{extension}"
TVSHOW_PATTERN="{name} - {season}x{episode}{extension}"
TYPE=movie # movie or tvshow
MAX_RESULTS=5 # Max suggestions per file
QUICK_MODE=false # Skip confirmation
Usage Examples
Movies
# Scan movies with default pattern
gonamer /path/to/movies
# Custom pattern with dry run
DRY_RUN=true MOVIE_PATTERN="{name} ({year}){extension}" gonamer /movies