[mythtv-commits] Ticket #4693: Watch TV with LiveTV busy tuners provides no warning
MythTV
mythtv at cvs.mythtv.org
Wed Oct 22 08:38:48 UTC 2008
#4693: Watch TV with LiveTV busy tuners provides no warning
--------------------+-------------------------------------------------------
Reporter: nigel | Owner: nigel
Type: defect | Status: assigned
Priority: minor | Milestone: 0.22
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
--------------------+-------------------------------------------------------
Changes (by nigel):
* owner: ijr => nigel
* status: new => assigned
Comment:
Working out if an in-progress recording is scheduled, or LiveTV is easy:
{{{
Index: mainserver.cpp
===================================================================
--- mainserver.cpp (revision 18829)
+++ mainserver.cpp (working copy)
@@ -1338,7 +1338,10 @@
proginfo->chanid == (*ri)->chanid &&
proginfo->recstartts == (*ri)->recstartts)
{
- proginfo->recstatus = rsRecording;
+ if (proginfo->recgroup == "LiveTV")
+ proginfo->recstatus = rsLiveTV;
+ else
+ proginfo->recstatus = rsRecording;
break;
}
}
}}}
and LiveTV could be added into the QUERY_RECORDINGS backend query, but
neither of these really helps to put up the correct popup message. Having
a list of both in-progress and LiveTV recordings to switch to is easiest
(even if the LiveTV ones are often truncated). I will experiment with
adding rsLiveTV as above, and have !RemoteGetCurrentlyRecordingList() also
return recordings of that type.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4693#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list