summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/LinHES-system/gen_lib_xml.py6
1 files changed, 5 insertions, 1 deletions
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/"