summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/myth_status.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-01-24 19:21:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-01-24 19:21:45 (GMT)
commitd41f98819d31de4611368109eb5e841700dc6722 (patch)
treee7c323cc64dc0bccc89acdddfcd3c416ded6f2f7 /abs/core/LinHES-system/myth_status.sh
parent2d450e59e2878ac5eae558840c9c86ab2b7ba9bf (diff)
downloadlinhes_pkgbuild-d41f98819d31de4611368109eb5e841700dc6722.zip
linhes_pkgbuild-d41f98819d31de4611368109eb5e841700dc6722.tar.gz
linhes_pkgbuild-d41f98819d31de4611368109eb5e841700dc6722.tar.bz2
linhes-system: myth-status.sh / .py
Modify the shell script so that it only runs once per session Modify the python script for formatting Modify the python script to fix a bug when the next recording is more then 24 hours out. Anything more then 24 hours and the program would not account for it.
Diffstat (limited to 'abs/core/LinHES-system/myth_status.sh')
-rw-r--r--abs/core/LinHES-system/myth_status.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/LinHES-system/myth_status.sh b/abs/core/LinHES-system/myth_status.sh
index bc986ec..f942c64 100644
--- a/abs/core/LinHES-system/myth_status.sh
+++ b/abs/core/LinHES-system/myth_status.sh
@@ -1,3 +1,8 @@
#!/bin/bash
-MYTHCONFDIR=/usr/share/mythtv /usr/LH/bin/myth_status.py
+if [ x$MYTH_RUN_STATUS = x ]
+then
+ MYTHCONFDIR=/usr/share/mythtv /usr/LH/bin/myth_status.py
+fi
+MYTH_RUN_STATUS="1"
+