summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/myth_status.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-04-12 22:22:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-04-12 22:22:58 (GMT)
commitde3a3fdbe9f392b0d6c017e325025aaf44d70a23 (patch)
treec33e57ba834a13434945e62c0ea6349d087027ae /abs/core/LinHES-system/myth_status.py
parenteb9ce9a0ac072df0931dc9cec6f96a7f01d06a6f (diff)
downloadlinhes_pkgbuild-de3a3fdbe9f392b0d6c017e325025aaf44d70a23.zip
linhes_pkgbuild-de3a3fdbe9f392b0d6c017e325025aaf44d70a23.tar.gz
linhes_pkgbuild-de3a3fdbe9f392b0d6c017e325025aaf44d70a23.tar.bz2
LinHES-system: myth_status.py: add call to diskspace.sh to warn user of full disks.
Diffstat (limited to 'abs/core/LinHES-system/myth_status.py')
-rw-r--r--abs/core/LinHES-system/myth_status.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/LinHES-system/myth_status.py b/abs/core/LinHES-system/myth_status.py
index f8222cb..53d64d9 100644
--- a/abs/core/LinHES-system/myth_status.py
+++ b/abs/core/LinHES-system/myth_status.py
@@ -1,6 +1,6 @@
#!/usr/bin/python2
from MythTV import MythBE,MythDB,MythLog
-import datetime,time,sys
+import datetime,time,sys,subprocess
try:
be=MythBE()
db = MythDB()
@@ -107,5 +107,5 @@ else:
ur=formatTD(next_start_diff)
print "The next recording starts in:\n %s" %(ur)
print ""
-
-
+subprocess.call("/usr/LH/bin/diskspace.sh",shell=True)
+print ""