Opened 18 years ago
Closed 18 years ago
#2437 closed defect (fixed)
mythwelcome crashes backend with hybrid tuner card
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
(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.