[mythtv] Ticket #4909: mythbackend does not change input with two mythfrontends watching
David Matthews
dm at prolingua.co.uk
Fri Mar 14 13:13:35 UTC 2008
Bill wrote:
> I am curious as to why this ticket has been closed. There is a definite
> problem, when the backend is recording, the frontend will only allow
> selection of channels on the same transport as the backend is recording. It
> will not automatically select a free DVB card that has the desired channel.
>
> Before multi-rec, mythtv would select the next available card for the
> frontend, when the backend was recording on the first card. With multi-rec,
> it seems to attempt the same thing, but instead the next available card, is
> the multi-rec virtual card of the first DVB, which then causes the
> restriction of channel selection to the same transport.
>
> As a result of this and WAF, I think I'll have to disable the multi-rec (ie
> reduce to 1 recording per card).
I noticed this but since I wasn't certain whether it was my problem or a
bug and since I managed to work around it I haven't pursued this. The
problem seems to be that Live TV chooses the first available capture
card whether it is a "virtual" or "real" card. If it chooses a virtual
card it will only tune to channels on the same multiplex as the "real"
card that it shares with. There seems to be no way to get Live TV to
use a different capture card if it is asked to tune to a channel on a
different multiplex within the same video source. Choosing a channel on
a different video source works.
My work around was to reorder my cards in the database. I first deleted
the capture cards (and incidentally ran TRUNCATE FROM capturecard in the
database to reset the autoincrement, but that's almost certainly
unnecessary). I then added back the cards one at a time but explicitly
set Max Recordings to 1 on each card. Once I had added all the cards I
went back and increased the number for each card to 2. This adds the
"virtual" cards after all the "real" cards. Now Live TV uses different
tuners by default.
I don't know what the "correct" behaviour should be but it seems
unsatisfactory that the behaviour depends on the order in the database.
One possibility would be for Live TV to choose the next free card that
is not in use at all and only choose one that is already in use if there
is no suitable card.
David
More information about the mythtv-dev
mailing list