<p> Hi,</p><p> I'm not a Linux, or even Myth noob any more, but feel like one when trying to access the frontend socket or use the python bindings (MythTV.Frontend)</p><p>All I want to do is query the current program for any given channel ID. The Python bindings seem the obvious choice, as I can output the result and use it in the script I want to write, but I know too little python to get anywhere and am no nearer having read some of the noob documentation.</p><p>So far I'm getting for any of the frontend methods:<BR>
</p><p>... must be called with Frontend instance as first argument (got nothing instead)</p><p>So first question is how do I connect to the frontend instance (I've tried <BR>
</p><h1 style="font-family: Arial;"><span style="font-size: 8pt;" class="mw-headline">Frontend(host, port)</span></h1>)<BR>
Perhaps someone could just give me the line that I would need to query the liveTV chanid using:<BR>
<h1 style="font-family: Arial;"><span style="font-size: 8pt;" class="mw-headline">sendQuery(query)<BR>
</span></h1><BR>
<p>Next problem is I'm not sure I'll get it to work anyway, as the Telnet socket gives me nothing when trying the <BR>
</p><p><BR>
</p><pre>query liveTV - List current TV schedule<BR>
or<BR>
query liveTV CHANID - Query current program for specified channel<BR>
</pre><p>Is it broken?</p><p>Other queries seem to work as expected.<BR>
</p><p>Is there any other way of extracing the information?</p><p><BR>
</p><p> The frontend obviously manages it fine, as I can cycle through the info in LiveTV.</p><p><BR>
</p><p>Cheers!</p><p><BR>
</p><p>Marius<BR>
</p><BR>