<div class="gmail_quote">On Sat, Nov 28, 2009 at 6:47 AM, David Knight <span dir="ltr">&lt;<a href="mailto:dlknight@sdf.lonestar.org">dlknight@sdf.lonestar.org</a>&gt;</span> 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><div></div><div class="h5">On Sat, November 28, 2009 8:43 am, Kenneth Emerson wrote:<br>
&gt; Rich:<br>
&gt;<br>
&gt;&gt; Actually, what I meant to say was that by changing your script at line<br>
&gt;&gt; 99<br>
&gt;&gt; to:<br>
&gt;&gt;<br>
&gt;<br>
&gt; if mythtv.isRecording(str(recorder)):<br>
&gt;<br>
&gt; I could get it to &quot;work&quot;.  Am I missing something?  Perhaps a different<br>
&gt; version of python (using Ubuntu 9.04 and python v2.6.2).<br>
&gt;<br>
&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt; Ken E.<br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div>Excellent I was going to take a look at this today and someone has beaten<br>
me to it :)<br>
<br>
Looks like you need to change the following lines in mythcal:<br>
<br>
Line #98<br>
From: if mythtv.isRecording(recorder):<br>
To: if mythtv.isRecording(str(recorder)):<br>
<br>
Line #99<br>
From: current.append(mythtv.getCurrentRecording(recorder))<br>
To: current.append(mythtv.getCurrentRecording(str(recorder)))<br>
<br>
Dave K.<br>
<div><div></div><div class="h5"><br>
<br></div></div></blockquote><div>I now have seen that someone has entered a ticket against trunk for this problem:<br><br><a href="http://svn.mythtv.org/trac/ticket/7648#comment:2">http://svn.mythtv.org/trac/ticket/7648#comment:2</a><br>
<br>Which doesn&#39;t appear to have been commited yet.  So not sure where this will be fixed. <br><br>But on another note, I have discovered that the current rev of mythcal is not deleting all of the events of the calendar when it runs.  Seems to be bypassing the events that are close to the date of the run (+7 days?).  This results is duplicate events for each time the script is run (assuming it finds some difference with its cache file).<br>
<br>-- Ken E.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5">
_______________________________________________<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>