A simple tool to rename movies, written in Rust.
Find a file
2022-12-09 14:16:54 -06:00
src Bug fix for directory renaming 2022-12-09 14:16:54 -06:00
.gitignore Add subtitles support 2022-12-08 00:21:36 -06:00
Cargo.lock Change the menu from youchoose to inquire 2022-12-09 14:11:27 -06:00
Cargo.toml Change the menu from youchoose to inquire 2022-12-09 14:11:27 -06:00
LICENSE Added LICENSE 2022-12-08 00:55:23 -06:00
movie_rename.1 Fixed typo in manpage 2022-12-08 23:57:49 -06:00
README.md Added badges to README 2022-12-09 02:39:21 -06:00

latest-release commits-since-latest-release

movie_rename

A simple tool to rename movies, written in Rust.

This is made mostly due to mnamer not having support for director's name, and partly because I wanted to try writing something useful in Rust.

Installation

Install from AUR, my personal lure-repo or download the binary from the releases.

Notes

  • The expected syntax is:

    movie_rename <filename(s)> [-n|--dry-run] [-d|--directory] [-h|--help] [-v|--version]

  • There needs to be a config file named movie_rename.conf in your $XDG_CONFIG_HOME.

  • It should consist of two lines. The first line should have your TMDb API key.

  • The second line should have a pattern, that will be used for the rename.

  • In the pattern, the variables need to be enclosed in {{}}, the supported variables are title, year and director.

  • Default pattern is {title} ({year}) - {director}. Extension is always kept.

  • Passing --directory assumes that the arguments are directory names, which contain exactly one movie and optionally subtitles.

  • I plan to add more variables in the future. Support for TV Shows will not be added, since tvnamer does that excellently.