added logging

This commit is contained in:
2013-07-19 22:36:46 +10:00
parent c06d43b3e7
commit be97271559
7 changed files with 75 additions and 5 deletions

View File

@@ -48,11 +48,26 @@ class Settings:
return self.__config["HandbrakeCommand"]
def illegalcharacters(self):
"""Get a list of illegal characters for filenames
"""
Get a list of illegal characters for filenames
"""
return self.__config["IllegalCharacters"]
def generallogfile(self):
"""
Get the filename to save general log messages to
"""
return self.__config["Logging"]["General"]
def actionlogfile(self):
"""
Get the filename to save the action log messages to
"""
return self.__config["Logging"]["Action"]
def mythtvaddress(self):
"""
Get the MythTV/address setting