[mythtv-commits] Ticket #2068: DBox2: DB entries for the capture card get created inproperly
MythTV
mythtv at cvs.mythtv.org
Tue Jul 18 12:06:13 UTC 2006
#2068: DBox2: DB entries for the capture card get created inproperly
------------------------------------+---------------------------------------
Reporter: hansi.urpils at gmail.com | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium |
------------------------------------+---------------------------------------
Hi there.
I tried to use my DBox2 as a capture card within MythTV. However, after
going through all the steps in mythtv-setup, i get the following message
when starting mythbackend:
{{{
2006-07-18 13:40:26.482 TVRec(1) Error: Start channel invalid, setting to
'1' on input MPEG2TS instead.
[..]
2006-07-18 13:40:26.516 TVRec(1) Error: Setting start channel '1' failed,
and backup '1' failed as well.
}}}
I'm sure that this channel is there, my input connections look fine, too,
that's why I decided to take a look at the database:
{{{
mysql> select inputname from cardinput;
+-----------+
| inputname |
+-----------+
| MPEG2TS |
+-----------+
}}}
{{{
mysql> select defaultinput from capturecard;
+--------------+
| defaultinput |
+--------------+
| Television |
+--------------+
}}}
I believe that this is the issue. I cannot tell mythtv-setup which input
to use for the Dbox2, it just chooses "Television". Since there is no
Television input available in the 'cardinput' table, it will just fail
with the error message posted above - at least that's what I think.
I set the defaultinput to MPEG2TS then to test if that'd make it work. The
error message about being unable to set the channel is gone, but it'll
segfault. Occasionally, i can even see the DBox2Rec change the channel
before it'll barf out:
{{{
2006-07-17 19:48:46.799 Main::Starting HttpServer
2006-07-17 19:48:46.810 Main::Registering HttpStatus Extension
2006-07-17 19:48:46.827 mythbackend version: 0.19.20060708-1
www.mythtv.org
2006-07-17 19:48:46.828 Enabled verbose msgs: important general
2006-07-17 19:48:46.829 AutoExpire: Found 1 recorders w/max rate of 72
MiB/min
2006-07-17 19:48:46.834 AutoExpire: Required Free Space: 1.1 GB w/freq: 10
min
2006-07-17 19:48:47.041 DBox2Rec(135703736): Channel changing. Closing
current stream...
2006-07-17 19:48:47.062 DBox2Rec(135703736): Channel changed. Requesting
streams...
Segmentation fault
}}}
So it looks like changing defaultinput does indeed help, but I can't
verify if this is the right thing to do because of the crash which is
probably even caused by me messing with the DB.
I was going to open a new ticket for that crash in case it's not related.
I'd appreciate any advice on how i should proceed from here on.
Anyways, it'd be cool if the DB issue could get fixed before 0.20 is
released.
-- Michael
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2068>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list