[mythtv-users] what table in the mythdb connects the channel to the source ?

R. G. Newbury newbury at mandamus.org
Sun Feb 5 22:25:18 UTC 2012


On 02/05/2012 03:52 AM, Rob Verduijn wrote:
> btw, this brings me to my original question.
>
> Does anybody know which table connects the sources to the channels ?
>
> Cheers
> Rob

If you want to go poking around, look at the cardinput table;

It contains the cardid and sourceid which ties the card and source 
together. The channel table contains the sourceid which defines the 
relationship you are looking for.

So you could (disastrously) move a channel from one source to another 
merely be changing that field....Whether it would work is an entirely 
different question.

So if you want to wander in this part of the map, it is marked "Here be 
Dragons"...

Geoff

-- 



More information about the mythtv-users mailing list