projects
/
mythtv-status.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9080df0
)
Allow the check time frame to be specifid on the commandline, default to
author
Andrew Ruthven
<andrew@etc.gen.nz>
Sat, 19 Apr 2008 04:20:34 +0000
(16:20 +1200)
committer
Andrew Ruthven
<andrew@etc.gen.nz>
Sat, 19 Apr 2008 05:47:21 +0000
(17:47 +1200)
10 minutes.
bin/mythtv_recording_soon
patch
|
blob
|
history
diff --git
a/bin/mythtv_recording_soon
b/bin/mythtv_recording_soon
index b3198b5b617b6f9a8901a207b8b63e7bbdeec309..c2842ba79cc901d2e6b4b5a4d48d950551324d6f 100755
(executable)
--- a/
bin/mythtv_recording_soon
+++ b/
bin/mythtv_recording_soon
@@
-15,8
+15,15
@@
then
. /etc/default/mythtv-status
fi
+if [ "x$1" -ne "x" ]
+then
+ ARGS="--recording-in-warn $1"
+else
+ ARGS="--recording-in-warn 600"
+fi
+
/usr/bin/mythtv-status -h ${HOST:=localhost} --return-code-only \
- --recording-now --next-recording
+ --recording-now --next-recording
$ARGS
if [ $? -eq 1 ]
then