Available Configuration Options¶
DEFAULT¶
-
locations¶ Type: multi-valued Default: specify the paths to search for files to rename.
-
dryrun¶ Type: boolean Default: falsePractice run where no changes are applied.
-
cache_enabled¶ Type: boolean Default: trueEnable caching results
-
console_output_enabled¶ Type: boolean Default: trueEnable console output
-
logfile¶ Type: string Default: tvrenamer.logspecify name of log file default: the value above
-
loglevel¶ Type: string Default: infoValid Values: none, critical, error, warning, info, debug, trace specify logging level to log messages: %(choices)s
-
move_files_enabled¶ Type: boolean Default: falseMove files to library during rename.
-
overwrite_file_enabled¶ Type: boolean Default: falseOverwrite existing files during rename.
-
default_library¶ Type: string Default: Default library path to relocate files to.
-
libraries¶ Type: list Default: Library paths to relocate files to.
-
language¶ Type: string Default: enLanuage to lookup metadata in.
-
valid_extensions¶ Type: list Default: File extensions considered valid.
-
filename_blacklist¶ Type: list Default: File names exclused from processing.
-
input_filename_replacements¶ Type: list Default: List of mappings of string pattern replacements.
-
input_series_replacements¶ Type: dict Default: Mapping of parsed series name to replacement values.
-
output_series_replacements¶ Type: dict Default: Mapping of lookup series name to replacement values.
-
lookup_service¶ Type: string Default: tvdbName of lookup service to use for metadata retrieval.
-
directory_name_format¶ Type: string Default: .Format for naming library directories.
-
filename_format_ep¶ Type: string Default: %(seriesname)s - %(seasonnumber)02dx%(episode)s - %(episodename)s%(ext)sFormat for naming files with episode name.
-
episode_single¶ Type: string Default: %02dFormat for episode numbers.
-
episode_separator¶ Type: string Default: -Separator to join multiple episode numbers.
-
multiep_join_name_with¶ Type: string Default: ", "Separator to join multiple episodes.
-
multiep_format¶ Type: string Default: %(epname)s (%(episodemin)s-%(episodemax)s)Format for naming multiple episodes.
-
filename_character_blacklist¶ Type: string Default: Characters to ignore within filename.
-
replacement_character¶ Type: string Default: _Character used to replace invalid characters.
-
output_filename_replacements¶ Type: list Default: List of mappings of string pattern replacements.
cache¶
-
dbfile¶ Type: string Default: $config_dir/cache.jsonThe full path of the database storage.
tvdb¶
-
apikey¶ Type: string Default: <None>API key from your TVDB account ENV[‘TVDB_API_KEY’]
-
username¶ Type: string Default: <None>Username from your TVDB account ENV[‘TVDB_USERNAME’]
-
userpass¶ Type: string Default: <None>Password from your TVDB account ENV[‘TVDB_PASSWORD’]
-
service_url¶ Type: string Default: https://api-dev.thetvdb.comthe url for thetvdb api service
-
verify_ssl_certs¶ Type: boolean Default: trueflag for validating ssl certs for service url (https)
-
select_first¶ Type: boolean Default: falseflag for selecting first series from search results
trakt¶
-
client_id¶ Type: string Default: <None>client id from your trakt account ENV[‘TRAKT_CLIENT_ID’]
-
client_secret¶ Type: string Default: <None>client secret from your trakt account ENV[‘TRAKT_CLIENT_SECRET’]