Andrew M. Kinnard wrote:
> I've captured some mvpmc session traffic while attempting to change to a 
> channel from the DTV stb.  That stb is on tuner 2 on the mythbackend.  I'm 
> seeing early queries for location information on tuners 1 and 2, but the 
> mvpmc's channel change request is erroneously pointed at tuner 1:
> 
> 39      QUERY_RECORDER 1[]:[]SET_CHANNEL[]:[]17
> 
> As you may infer, I've changed this channel's channum to 17 (from 16-2).  I 
> also set it's chanid to a number within the numeric range of known-good 
> channels (that successfully change from the mvpmc).  (That config still works 
> from full mythtv frontends (remote and local).)
> 
> The mythbackend responds with these log entries:
> 
> 2008-11-11 10:22:51.159 GetChannelData() failed because it could not find 
> channel number '17' in DB for source '1'.
...<cut>...

I'm not sure I understand what you mean when you say "set it's chanid to 
a number within the numeric range of known-good channels".  I assume you 
are controlling an OTA ATSC Set Top Box.  So, I would not expect a 
channel like 17 but rather a channel like 17_1.

It looks like the channum element of the structure is used in 
mythtv_mysql.c, tvguide.c and mythtv.c.  You would have to go in and not 
only add things like channum_major and channum_minor but also change the 
code to handle the new data.  It could be a lot of work depending on how 
you go about it.

I really doubt you can get away w/o changing the code. I am assuming the 
above didn't work because the actual channel number in the data base is 
17_1?  But I'm only guessing.

(As a hack, you might try a quick fix where you append "_1" to all mysql 
queries.  That might get you access to information about the first 
channel in a broadcaster's set of channels.)

I remember posts here about mvpmc having problems accessing multiple 
tuners.  But I don't use my mvpmc boxes for live TV so I don't know if 
that was resolved or not.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to