From 2bb4cf41cf42f227667d0ab4505adf9fd13099b5 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 30 Aug 2012 19:31:36 -0500 Subject: LinHES-system: gen_lib_xml.py remove references to /home/mythtv --- abs/core/LinHES-system/gen_lib_xml.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/abs/core/LinHES-system/gen_lib_xml.py b/abs/core/LinHES-system/gen_lib_xml.py index 3e9019b..320a84d 100644 --- a/abs/core/LinHES-system/gen_lib_xml.py +++ b/abs/core/LinHES-system/gen_lib_xml.py @@ -91,7 +91,11 @@ def write_xml(xml,filename): f.close() def main(): - filename="/home/mythtv/.mythtv/library.xml" + sys.path.append('/usr/MythVantage/bin/') + config_file = "mv_config" + data_config = __import__(config_file, globals(), locals(), []) + + filename="%s/.mythtv/library.xml" %data_config.MYTHHOME #filename="/tmp/library.xml" orig_theme_file="/usr/share/mythtv/themes/defaultmenu/library.xml" lib_xml_dir="/etc/gen_lib_xml.d/" -- cgit v0.12