/otr-rename

OnlineTVRecorder - File Renaming Tool

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

OTR Rename

OnlineTVRecorder - File Renaming Tool

This python script allows to easily rename movies and tv series episodes obtained from OnlineTVRecorder in batch mode.

Usage:

  • Movies:
    • python otr_rename.py "C:\Path\to\file\directory"
    • python otr_rename.py --method imdb_local "C:\Path\to\file\directory" (get official (local) movie name from IMDB)
    • python otr_rename.py --method imdb_closest "C:\Path\to\file\directory" or python otr_rename.py --method imdb_global "C:\Path\to\file\directory" (get official (global) movie name from IMDB)
  • Series:
    • python otr_rename.py --series "some TV series title (e.g., 'Die Simpsons')" "C:\Path\to\directory\with\episodes" → sets episode title and season/episode ID for each filename by querying the fernsehserien.de database
  • Other commands:
    • help: python otr_rename.py -h
    • dry-run (no renaming): python otr_rename.py -n ...

The filename format can be modified in otr_rename.py (search for #DEFINE FILENAME FORMAT comment).

Requirements:

Installing (only required for tests): pip install -e .