<br><br><div class="gmail_quote">On Fri, Mar 7, 2008 at 2:04 PM, Michael T. Dean &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</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;">
<div class="Ih2E3d">On 03/07/2008 01:47 PM, Ian Barton wrote:<br>
&gt; Over the last couple of days I have put together a very simple jabber<br>
&gt; bot. It&#39;s designed to do a few simple things to let me check on my Myth<br>
&gt; box via my mobile phone:<br>
&gt;<br>
&gt; * List of last 10 recorded programs.<br>
&gt; * List of next 10 upcoming recordings.<br>
&gt; * Per channel listings for the current day<br>
&gt; * Various bits of information from the Myth backend xml page.<br>
&gt;<br>
&gt; You can run it on your backend. However, if you can access your myth<br>
&gt; database remotely it should run on any system that can run Python. I<br>
&gt; have tested it with Googletalk and Openfire.<br>
&gt;<br>
&gt; In use you simply send send the bot an IM and it replies with whatever<br>
&gt; status info you requested.<br>
&gt;<br>
&gt; Would anyone be interested if I made this generally available? If so how<br>
&gt; do I go about submitting it to the contrib part of MythTV?<br>
&gt;<br>
&gt; This is my first ever Python program, so try to be kind:) One of the<br>
&gt; reasons for writing it was to learn Python. If anyone wants to help<br>
&gt; refactor it I can make it available via bzr or svn.<br>
<br>
</div>Is it, by any chance, using the Python bindings? &nbsp;IMH(non-developer)O,<br>
we should refrain from accepting Perl/Python scripts for contrib if they<br>
do not use the Perl/Python bindings.<br>
<br>
I don&#39;t know the current state of the Python bindings to know whether<br>
they are sufficiently usable to require their use for Python scripts or<br>
whether they require some additional work before that&#39;s feasible. &nbsp;As<br>
for the Perl bindings, though, they are definitely sufficiently usable<br>
in 0.21-fixes/trunk to require their use in scripts.<br>
<br>
Mike<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<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><br>
</div></div></blockquote></div><br><br>According to how I understand it works, it does not touch Mythbackend at all.&nbsp; only reading the database directly.&nbsp; Is there code binding for database access?&nbsp; I have similar scripts that I use for voip, etc but access the DB directly.&nbsp; please advise for future reference.&nbsp; If there is a set for perl (which I like to use rather than python) I would be interested in finding them for future code projects.<br>
--James<br>