<br><br><div class="gmail_quote">On Nov 10, 2007 7:08 PM, Worldnet <<a href="mailto:onley@worldnet.att.net">onley@worldnet.att.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> Have the channel change script write some status information to a file<br>> and use it to determine which capture card is watching what?<br>> Basically, the point is that the external channel change command knows
<br>> which capture card/input is being used, so, don't throw that information<br>> away. Put it somewhere you can find it... Specific implementation<br>> instructions would require knowledge of exactly what your plan is for
<br>> navigating the On Demand menus, but it shouldn't be too difficult to<br>> figure out (once you start going down the right path ;).<br>> Mike<br><br>I'm not following you. If the channel change script was to write to a
<br>status file it would reside on the backend. How would the frontend<br>go about reading this file? Further more since all OnDemand programing<br>is on Channel 1 if two frontends were to watch OnDemand at the same<br>time the status file would show 2 STBs watching channel 1.
<br><br>The exact plan is to be able to send left, right, up, down and select<br>to the correct STB. Since I am already controlling 4 STBs in exactly<br>the way you suggest I don't see where I am not on the right path.
<br><br>I have 1 master backend server which has 5 tuners and 4 STBs. In the<br>configuration of each tuner that is connected to a STB there is a<br>place to enter a command to control an external tuner. I have added<br>code to the DCT2000 channel_change executable to accept a command
<br>line argument for the port to send the information to and in each<br>tuner configuration I have entered "/usr/local/channel_change x"<br>where x is the serial port that the STB is connected to. This is<br>EXACTLY how this is supposed to be done as well as how you recommend
<br>I do it, so up to this point we should be in FULL agreement. Now,<br>I have 5 remote frontends, one in the living room, one in the kids<br>playroom, one in my bedroom, one in the boys bedroom and one in the<br>girls bedroom. If the kids are watching OnDemand in the playroom
<br>how should I go about sending the left, right, up, down, and select<br>interactive codes to the STB that they are watching?<br><br>I can only see 2 scenarios that would work.<br><br>1) Modify Myth so that you can send things other than channel
<br> numbers out through the external tuner command.<br><br>2) Somehow have the frontend that you are watching interogate<br> the backend to see what STB it is connected to.<br><br> As I undersand I can query the database to get this
<br> information. I do not yet know how to do this but<br> it appears I will have to learn.<br><br> Somehow send the codes to the STB which is connected to the<br> backend.<br><br>
At this point the frontend knows which STB it needs<br> to send the codes to but I am not sure how to go<br> about calling a program on the backend. I would<br> imagine that a daemon would have to be created
<br> to listen for requests from the frontends and<br> forward the codes to the STBs<br><br>If you think I am on the wrong path then please tell me where I'm<br>going wrong.<br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a></blockquote><div><br>If you only have one frontend doing VOD, I can see how it might be possible, by grepping index.html for "Live" or "VOD" which you get with "wget backend:6544". ( I assume an encoder recording channel 1 would display channel info as VOD)
<br><br>Once you figure out which encoder is doing live TV VOD , then you know which STB is connected to your frontend. You can then use ssh to remote execute a command.<br></div></div><br><br>I dont know how else you can figure out which frontend is connected to which STB if you have more than one STB doing VOD.
<br><br>Alternatively, if you just need one VOD active at any time, then perhaps you can eliminate this channel from the three STB's so that when you select channel 1 on any frontend, you are immediately connected to a known STB.
<br><br>Another thing you might do is to have a slightly different lineup for each tuners. For example, tuner 1 only has channel 99, tuner 2 only has channel 100. That way you can select a specific tuner (hence a specific STB) by changing to the unique channel, then channel change to 1 after that.
<br><br>I'm really just rambling these ideas. I dont know if they will work.<br><br>Hope it helps<br><br>