Skip to content

Organise your downloaded TV series files and folders

License

Notifications You must be signed in to change notification settings

rogerxiii/tv-organiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tv-organiser

Whether from torrents or NZBs, downloading TV shows gives many folders and files with unappealing, incomplete or even gibberish names. This Windows-only command line tool moves together and renames all episodes using data from IMDB.

Usage

It is highly recommended to put this tool in a folder which is in PATH so it can be used freely. Alternatively, you can copy the tool to the folder where you want to run it. Double click or launch from the command prompt with optional flags.
There are 2 ways of supplying an IMDB number:

  • Enter it when the program asks for it.
  • Have a file called imdb.txt in the same folder as the tool containing the IMDB number (this can be a hidden file to not clutter the folder structure).

The IMDB number can be formatted as tt1234567 or simply 1234567.

Features

  • Renames all episodes to the same format
  • Pattern system to detect a wide variety of formatting of episode and season number which is easily expanded
  • Takes individual episodes out of their folders into the root
  • Can deal with double episodes
  • Can deal with unicode names
  • Customizable with range of optional flags
  • Automatically handles subtitles either in the root folder or in the subs/ subfolder

Optional Flags

Example

Let's take as an example this first season of the show Dark, which looks as follows:

With each folder containing an episode file like this one:

After running this tool the folder looks like this:

Building Instructions

libcurl is statically linked for convenience sake, and the library is included in the github repo. You may also link it dynamically, but note that the dll will have to be provided whenever the program is run.
Please note that for the time being this tool is Windows only.

Future Plans

  • Create an installer which adds this program to PATH
  • Make the tool work on Linux

About

Organise your downloaded TV series files and folders

Resources

License

Stars

Watchers

Forks

Packages

No packages published