Opened 13 years ago

Closed 13 years ago

#2437 closed defect (fixed)

mythwelcome crashes backend with hybrid tuner card

Reported by: mrussotto@… Owned by: paulh
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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 = "";

Change History (3)

comment:1 Changed 13 years ago by paulh

Owner: changed from Isaac Richards to paulh

comment:2 Changed 13 years ago by paulh

(In [11366]) References #2437 - mythwelcome crashes backend with hybrid tuner card.

Only get the state of capture cards where the parentid=0 otherwise it causes the backend to exit with and unknown encoder error.

comment:3 Changed 13 years ago by paulh

Resolution: fixed
Status: newclosed

(In [11367]) Merge [11366] from trunk. Fixes #2437 - mythwelcome crashes backend with hybrid tuner card.

Only get the state of capture cards where the parentid=0 otherwise it causes the backend to exit with and unknown encoder error.

Note: See TracTickets for help on using tickets.