[mythtv] How does mythtv decide which backend does the recording?

Chris Pinkham cpinkham at bc2va.org
Mon Jul 21 22:34:36 EDT 2003


> What would be better is a ranking system for this.  If a channel can be
> recorded on more than one free capture card, it should pick the highest
> ranked capture card rather than the first available.  Of course, if the
> available capture cards all have the same ranking then it should act as
> it currently does.  So for example, if there is a DVB card and an
> analogue card.  I would rank the DVB card higher than the analog card,
> as it does not require encoding and provides a better quality picture
> and ,much better quality sound.

I was thinking about a ranking system even before you mentioned it.
This can already be accomplished manually just by ordering your
capture cards in the database since they're used in order that they
occur in the capturecard table.  The backend sorts the cards using
the cardid field.

> If there is support for this idea, I will write a patch to implement
> this.

Ahhh.. :)

Should be fairly easy to add the functionality, just adding a field to
the capturecard table to use in the select in the setupTVs() function
in programs/mythbackend/main.cpp and allow editing of that field in
the backend's setup.

-- 

Chris



More information about the mythtv-dev mailing list