[mythtv] Bug in tv_rec.cpp (TVRec::GetStartChannel)
Torbjörn Jansson
torbjorn.jansson at mbox200.swipnet.se
Tue Nov 22 16:08:52 EST 2005
Hmm... This sounds familiar.
Ever since i added my dreambox as a source mythbackend complains at startup
with some sql and something about start channel, but i haven't bothered to
check it since the source doesn't work properly.
I only added that source so i could see if i could get the dbox stuff to
work, but it looks like it doesn't work with enigma.
mythtv-dev-bounces at mythtv.org <> wrote:
> Hi,
> I think there's some bugs in the mentioned file and function regarding
> the names of the mysql tables/entries. I'm using the mythtv svn.
>
> The problems appeared after I wiped the DB clean and run the setup
> again.
>
> In the mysql query:
>
> ----
> query.prepare(
> "SELECT startchan "
> "FROM capturecard, cardinput "
> "WHERE capturecard.cardid = cardinput.cardid AND "
> " capturecard.cardid = :CARDID AND "
> " inputname = :INPUTNAME");
>
> ---
>
> I think the "inputname" should be "defaultinput". That's at
> least found
> in the DB. After I changed the name, mythbackend found the starting
> channel correctly.
>
> But there's probably another bug somewhere (haven't found that yet)
> since LiveTv does not start. Backend gives the following log:
>
> ----
> TVRec(1) Error: Channel: '1' was not found in the database.
> Most likely, your DefaultTVChannel setting is
> wrong. Could not start livetv.
> ----
>
> Shall I make a ticket?
>
> Br,
> Mika
>
More information about the mythtv-dev
mailing list