[mythtv] [PATCH] mythweb2 show actual autoexpire value for
recordings
Geoffrey Hausheer
ou401cru02 at sneakemail.com
Sat Aug 23 18:54:28 EDT 2003
This one liner should only use the default autoexpire value in the case
where the program isn't yet set to record. I find it annoying to go to
check/change the status of a recurring recording, and find the autoexpire
(and I guess rank, though I don't use it) field overridden by the
default. This patch should correct that behaviour.
.Geoff
Index: program_detail.php
===================================================================
RCS file: /var/lib/mythcvs/mythweb2/program_detail.php,v
retrieving revision 1.3
diff -u -r1.3 program_detail.php
--- program_detail.php 23 Aug 2003 03:03:25 -0000 1.3
+++ program_detail.php 23 Aug 2003 22:52:01 -0000
@@ -70,7 +70,7 @@
default:
$this_program->record_never();
}
- }else{
+ }else if (! $this_program->will_record) {
//Load default settings for rank, autoexpire etc
$rankresult = mysql_query("SELECT rank from channel where
chanid=".$this_program->chanid);
while($row=mysql_fetch_assoc($rankresult)){
More information about the mythtv-dev
mailing list