Configuration Dump¶
Functions used for writing configuration to file
Exposed Functions¶
Internal Functions¶
- kodiRename.config.config_dump.writeGeneralConfig(configIO: TextIO, general_config: generalConfig = generalConfig(logFile='kodiRename.log', dataDirectory='data', mode='copy')) None[source]¶
Write General Configuration to file
- Parameters:
configIO – Writable Text I/O object
general_config – General Configuration
- kodiRename.config.config_dump.writeKodiConfig(configIO: TextIO, kodi_config: kodiConfig = kodiConfig(host='localhost', host_port=8080, use_https=False, ignore_ssl=True)) None[source]¶
Write Kodi Configuration to file
- Parameters:
configIO – Writable Text I/O object
kodi_config – Kodi Configuration
- kodiRename.config.config_dump.writeMovieConfig(configIO: TextIO, movie_config: movieConfig = movieConfig(basePath='', outputDirectory=None, parentFormat='{TITLE} ({YEAR})', fileFormat='{TITLE} [{FORMAT}] ({YEAR})')) None[source]¶
Write Movie Configuration to file
- Parameters:
configIO – Writable Text I/O object
movie_config – Movie Configuration
- kodiRename.config.config_dump.writeTvConfig(configIO: TextIO, tv_config: tvConfig = tvConfig(basePath='', outputDirectory=None, parentFormat='{TITLE}', seasonFormat='Season {SEASON}', fileFormat='{SHOW_TITLE} S{SEASON:02}E{EPISODE:02}')) None[source]¶
Write TV Configuration to file
- Parameters:
configIO – Writable Text I/O object
tv_config – TV Configuration
- kodiRename.config.config_dump.writeDriveMapping(configIO: TextIO, drive_mapping: driveMappingConfig = driveMappingConfig(src='', dest='')) None[source]¶
Write Drive mapping configuration to file
- Parameters:
configIO – Writable Text I/O object
drive_mapping – Drive Mapping Configuration