Go to file
2019-01-23 18:24:33 +01:00
.gitignore Add test for build 2018-09-23 10:53:58 +02:00
filesystem.cpp Add consts 2019-01-07 22:21:02 +01:00
filesystem.hpp Fix segmentation fault when '.' or '..' is first entry in readdir 2019-01-15 23:52:15 +01:00
functions.cpp Updated README and help 2019-01-23 18:24:33 +01:00
functions.hpp Option to specify filename pattern 2019-01-23 14:08:40 +01:00
LICENSE Guess I should set a license 2018-10-08 20:51:52 +00:00
main.cpp Option to specify filename pattern 2019-01-23 14:08:40 +01:00
Makefile Break up into more files 2019-01-19 13:40:10 +01:00
network.cpp Break up into more files 2019-01-19 13:40:10 +01:00
network.hpp Break up into more files 2019-01-19 13:40:10 +01:00
README.md Updated README and help 2019-01-23 18:24:33 +01:00
tv_rename.cpp Removed useless variable 2019-01-23 18:18:07 +01:00
tv_rename.hpp Option to specify filename pattern 2019-01-23 14:08:40 +01:00

Rename TV Show files

This program downloads episode names from http://thetvdb.com and adds them as a suffix to the appropriate files

For this to work your file needs to contain the season and episode number (in accordance to thetvdb) in this format: S#E# (doesn't matter if lower or upper case)

The program only supports the aired order so far

Usage

Enter the directory in which the files you want to rename are (you can have subdirectories with different seasons, just not different shows) and call the program

Arguments:

-s, --show - Name of the show

-n, --season - Seasons to be renamed (numbers seperated by space or 'all' for all seasons in the directory and sub directories)

-p, --show-path - Path to the show's directory

-c, --correct-path - Don't ask if path is correct

-t, --trust - Don't prompt before changing file names

-x, --linux - Don't replace characters that are ilegal in NTFS

-l, --lang - Language of the episode titles

--print_langs - Print available languages

--name-pattern - Pattern by which the files should be renamed

  • %filename - original filename
  • %show - show name from thetvdb
  • %epname - episode name from thetvdb
  • %season - season number, possible to specify leading 0 like this: %2season (number means how many leading zeros)
  • %episode - episode number, possible to specify leading 0 like this: %3season (number means how many leading zeros)