[mythtv-commits] Ticket #2437: mythwelcome crashes backend with hybrid tuner card
MythTV
mythtv at cvs.mythtv.org
Fri Sep 22 04:00:18 UTC 2006
#2437: mythwelcome crashes backend with hybrid tuner card
-------------------------------------+--------------------------------------
Reporter: mrussotto at speakeasy.net | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20
Severity: medium |
-------------------------------------+--------------------------------------
If a hybrid tuner card is installed, mythwelcome attempts to get its
status and the backend crashes, e.g.
{{{
2006-09-21 21:40:12.021 MainServer: HandleRemoteEncoder(cmd GET_STATE)
Unknown encoder: 5, exiting
}}}
My solution is to tell mythwelcome to ignore the analog side of hybrid
tuner cards:
{{{
--- welcomedialog.cpp (revision 11259)
+++ welcomedialog.cpp (working copy)
@@ -465,7 +465,7 @@
QStringList strlist;
// get list of current recordings
- QString querytext = QString("SELECT cardid FROM capturecard;");
+ QString querytext = QString("SELECT cardid FROM capturecard where
parentid=0;");
MSqlQuery query(MSqlQuery::InitCon());
query.exec(querytext);
QString Status = "";
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2437>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list