A simple tool to rename movies, written in Rust.
Find a file
2022-12-08 18:20:07 -06:00
src Handle case where year isn't present in filename 2022-12-08 18:20:07 -06:00
.gitignore Add subtitles support 2022-12-08 00:21:36 -06:00
Cargo.lock Initial working 2022-12-07 22:53:16 -06:00
Cargo.toml Initial working 2022-12-07 22:53:16 -06:00
LICENSE Added LICENSE 2022-12-08 00:55:23 -06:00
README.md Minor changes 2022-12-08 01:19:04 -06:00

movie-rename

A simple tool to reame 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.

The expected syntax is:

movie_rename <filename(s)> [--dry-run] [--help]

  • There needs to be a config file names 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.

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