Skip to content

A program for renaming media, specially for following conventions of media servers like Plex, Jellyfin, etc...

Notifications You must be signed in to change notification settings

arch-fan/rnmedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rnmedia

A simple tool to rename media files, based on user input, to follow naming conventions.

Installation

Download the binary from the releases page and add it to your PATH.

Or use cargo to install it:

cargo install --git https://github.com/arch-fan/rnmedia

Usage

You have to specify the media name, the season and the path were files are located.

rnmedia --media "The Office" --season 1 season_path/

The output will be something like:

[random_rip] The Office - Chapter 1.mkv -> The Office - S01E01.mkv
[random_rip] The Office - Chapter 2.mkv -> The Office - S01E02.mkv
[random_rip] The Office - Chapter 3.mkv -> The Office - S01E03.mkv
[random_rip] The Office - Chapter 4.mkv -> The Office - S01E04.mkv
[random_rip] The Office - Chapter 5.mkv -> The Office - S01E05.mkv
[random_rip] The Office - Chapter 6.mkv -> The Office - S01E06.mkv

If you want the files to be renamed, use the flag --apply:

rnmedia --apply --media "The Office" --season 1 season_path/

Help command

$ rnmedia --help
Usage: rnmedia [OPTIONS] --season <SEASON> --media <MEDIA> <PATH>

Arguments:
  <PATH>  Path to the directory containing media files

Options:
  -a, --apply            Actually apply the new filenames (if not provided, just prints preview)
  -s, --season <SEASON>  Season number
  -m, --media <MEDIA>    Media title
  -o, --offset <OFFSET>  Episode offset [default: 0]
  -h, --help             Print help
  -V, --version          Print version

About

A program for renaming media, specially for following conventions of media servers like Plex, Jellyfin, etc...

Topics

Resources

Stars

Watchers

Forks

Languages