macOS
brew install tvnamerlocal Homebrew formula metadata
brew / rank 5188
Automatic TV episode file renamer that uses data from thetvdb.com. Version 3.0.4 via Homebrew; verified 2026-05-15. Also installable with nix: nix profile install nixpkgs#tvnamer.
install
brew install tvnamerlocal Homebrew formula metadata
nix profile install nixpkgs#tvnamernixpkgs package indexes · pkgs/by-name/tv/tvnamer/package.nix · source: api.github.com
sudo apt install tvnamerUbuntu 24.04 LTS package indexes · tvnamer · source: archive.ubuntu.com
overview
Automatic TV episode file renamer that uses data from thetvdb.com
history
tvnamer is a Python command-line utility for renaming TV episode files by parsing filenames and looking up episode metadata through tvdb_api and TheTVDB data.
The official GitHub repository was created in July 2009, placing tvnamer in the older generation of home-media-library command-line tools. Its README describes the core transformation from scene-style names such as `some.show.s01e03...avi` to cleaner names such as `Some Show - [01x03] - The Episode Name.avi`.
The README documents a v2-era shift toward extensive JSON configuration, saying custom configuration was one of the largest improvements in tvnamer v2. It later records Python 3.5+ support and notes that tvnamer 3 was the last version to support Python 2.7.
tvnamer's adoption came from media-library automation rather than from a single platform ecosystem. The official README says pip is the official install method and also lists community packaging for Homebrew, Debian, FreeBSD/DragonFlyBSD/MacPorts, and Nix; the supplied package metadata records Homebrew, Nix, and Ubuntu entries.
Its package-manager relevance comes from the old but durable need to normalize downloaded or ripped TV episode files before media centers, NAS folders, and archive scripts consume them.
The basic workflow is `tvnamer file_or_directory`: tvnamer parses episode-like filenames, searches TVDB data, prompts the user to confirm a match, and renames files. It can run on individual files, multiple paths, directories, or recursively with `--recursive`.
For automation, the README highlights `--selectfirst`, `--always`, and `--batch`, plus `--series-id` for disambiguation. Users can save or place a JSON config at `~/.config/tvnamer/tvnamer.json` to customize language, filename formats, replacements, and safety behavior.
tvnamer is a classic package-nerd utility: small, scriptable, long-lived, and very specific. It sits at the intersection of Python packaging, Homebrew/Debian/Nix distribution, and personal media curation workflows.
security posture
No matching local secret-handling manifest was found for tvnamer. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/tvnamer/tvnamer.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tvnamer | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:tvnamer |
|---|---|
| Version | 3.0.4 |
| Package manager | Homebrew |
| Homepage | https://github.com/dbr/tvnamer |
| Repository | https://github.com/dbr/tvnamer |
| Last updated | 2026-05-15T11:15:11Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tvnamer
nix profile install nixpkgs#tvnamertvnamer 3.0.4-2
utility to rename TV-show episodes files
https://github.com/dbr/tvnamer
sudo apt install tvnamersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.