<br><br><div class="gmail_quote">On Nov 10, 2007 7:08 PM, Worldnet &lt;<a href="mailto:onley@worldnet.att.net">onley@worldnet.att.net</a>&gt; 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>&gt; Have the channel change script write some status information to a file<br>&gt; and use it to determine which capture card is watching what?<br>&gt; Basically, the point is that the external channel change command knows
<br>&gt; which capture card/input is being used, so, don&#39;t throw that information<br>&gt; away. Put it somewhere you can find it... Specific implementation<br>&gt; instructions would require knowledge of exactly what your plan is for
<br>&gt; navigating the On Demand menus, but it shouldn&#39;t be too difficult to<br>&gt; figure out (once you start going down the right path ;).<br>&gt; Mike<br><br>I&#39;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&#39;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 &quot;/usr/local/channel_change x&quot;<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) &nbsp; &nbsp; &nbsp;Modify Myth so that you can send things other than channel
<br> &nbsp; &nbsp; &nbsp; &nbsp;numbers out through the external tuner command.<br><br>2) &nbsp; &nbsp; &nbsp;Somehow have the frontend that you are watching interogate<br> &nbsp; &nbsp; &nbsp; &nbsp;the backend to see what STB it is connected to.<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;As I undersand I can query the database to get this
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;information. I do not yet know how to do this but<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;it appears I will have to learn.<br><br> &nbsp; &nbsp; &nbsp; &nbsp;Somehow send the codes to the STB which is connected to the<br> &nbsp; &nbsp; &nbsp; &nbsp;backend.<br><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;At this point the frontend knows which STB it needs<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to send the codes to but I am not sure how to go<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;about calling a program on the backend. I would<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;imagine that a daemon would have to be created
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to listen for requests from the frontends and<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;forward the codes to the STBs<br><br>If you think I am on the wrong path then please tell me where I&#39;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&nbsp; doing VOD, I can see how it might be possible, by grepping index.html for &quot;Live&quot; or &quot;VOD&quot; which you get with &quot;wget backend:6544&quot;.&nbsp; ( I assume an encoder&nbsp; recording channel 1 would display channel info&nbsp; 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.&nbsp; 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&#39;s so that when you select channel 1 on any frontend, you are immediately connected to a known STB.&nbsp; 
<br><br>Another thing you might do is to have a slightly different lineup for each tuners.&nbsp; For example, tuner 1 only has channel 99, tuner 2 only has channel 100.&nbsp; 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&#39;m really just rambling these ideas.&nbsp; I dont know if they will work.<br><br>Hope it helps<br><br>