[svn r944] Now add/cancel a schedule recording while livetv is running is finnaly working fine.
3 __author__ = "Renato Araujo Oliveira Filho"
4 __author_email__ = "renato.filho@indt.org.br"
12 __all__ = ("GmsConfig")
15 config = ConfigParser.ConfigParser()
16 __CONFIG_FILE__ = "server.conf"
17 __CONFIG_DIRS__ = [os.path.join (os.path.expanduser("~"), ".gms"), \
18 os.path.join ("/", "etc", "gms"), \
22 for path in self.__CONFIG_DIRS__:
23 file_name = os.path.join (path, self.__CONFIG_FILE__)
24 if os.path.exists (file_name):
25 fp = open (file_name, "r")
26 self.config.readfp (fp)
30 def get_transcoded_location (self):
32 return os.path.realpath (self.config.get("PATHS", "transcoded"))
35 # get_transcoded_location()