Go to file
2018-10-02 00:01:30 +02:00
test Add test for build 2018-09-23 10:53:58 +02:00
.gitignore Add test for build 2018-09-23 10:53:58 +02:00
.gitlab-ci.yml update before install 2018-09-23 09:21:51 +00:00
functions.cpp Use global curl object instead of creating one with every request 2018-09-26 12:45:37 +02:00
functions.hpp Use global curl object instead of creating one with every request 2018-09-26 12:45:37 +02:00
Makefile Use CXX variable in Makefile 2018-09-22 23:11:18 +00:00
README.md Added README 2018-09-24 23:24:46 +02:00
test.sh Add test for build 2018-09-23 10:53:58 +02:00
tv_rename.cpp Actually print show's name 2018-10-02 00:01:30 +02: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

This is a port of my project https://gitlab.com/zvon/tv_rename

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)

-sp, --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

-p, --print_langs - Print available languages