[mythtv-users] explain defaultinput field in capturecard table in mythconverg

Bill Meek keemllib at gmail.com
Mon May 12 15:39:15 UTC 2014


On 05/12/2014 10:17 AM, Michael T. Dean wrote:
> On 05/12/2014 01:24 AM, Eyal Lebedinsky wrote:
>> My first query is: what is the exact semantics of this field? I notice that in the past
>> it defaulted to DVBInput but it now defaults to Television, so I have a mix of both.
>
> When you configure a capture device with a single input, MythTV will always set the default input properly.  However, since kernel drivers have
> changed over time--in some (many) case(s) changing the input identifiers--this tends to happen when you add cards at different times (though it
> can happen when adding all cards at the same time if you misconfigure the cards--even if you think you undid the misconfiguration and
> reconfigured correctly).
>
> The best way to fix the problem is to use the "Delete all capture cards" (not "Delete all capture cards on <hostname>") portion of
> http://www.gossamer-threads.com/lists/mythtv/users/264034#264034 . Doing so will have no impact on your Channels or Video Sources (just don't do
> the "Delete all video sources" portion), and takes only seconds.  (I can delete all my capture cards and reconfigure the six of them--spread
> across 2 backend systems--in about 30 seconds.)
>
> This is also why it's recommended that any time you do a major system upgrade (i.e. distro upgrade or kernel upgrade) you should repeat the
> "Delete all capture cards" procedure.
>
> You'll also need to do as Stephen suggested to ensure consistent device numbering


Also, it seems that defaultimput is no longer used:

     https://code.mythtv.org/trac/changeset/97047fc

(there's only one reference to it in dbcheck.cpp, no other code)

-- 
Bill


More information about the mythtv-users mailing list