summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:31:36 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:31:36 (GMT)
commit2bb4cf41cf42f227667d0ab4505adf9fd13099b5 (patch)
tree198a431640ea580c97e7ab8040c2f96c471038ea /abs/core/LinHES-system
parent4f5bab20b0439c71f9a1597d42b4be265cc808aa (diff)
downloadlinhes_pkgbuild-2bb4cf41cf42f227667d0ab4505adf9fd13099b5.zip
linhes_pkgbuild-2bb4cf41cf42f227667d0ab4505adf9fd13099b5.tar.gz
linhes_pkgbuild-2bb4cf41cf42f227667d0ab4505adf9fd13099b5.tar.bz2
LinHES-system: gen_lib_xml.py remove references to /home/mythtv
Diffstat (limited to 'abs/core/LinHES-system')
-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/"