[mythtv-users] mythcal - script for synchronising MythTV recording schedule to a Google calendar

Kenneth Emerson kenneth.emerson at gmail.com
Sat Nov 28 17:26:22 UTC 2009


On Sat, Nov 28, 2009 at 6:47 AM, David Knight <dlknight at sdf.lonestar.org>wrote:

> On Sat, November 28, 2009 8:43 am, Kenneth Emerson wrote:
> > Rich:
> >
> >> Actually, what I meant to say was that by changing your script at line
> >> 99
> >> to:
> >>
> >
> > if mythtv.isRecording(str(recorder)):
> >
> > I could get it to "work".  Am I missing something?  Perhaps a different
> > version of python (using Ubuntu 9.04 and python v2.6.2).
> >
> > Regards,
> >>
> >> Ken E.
> >>
> >
>
> Excellent I was going to take a look at this today and someone has beaten
> me to it :)
>
> Looks like you need to change the following lines in mythcal:
>
> Line #98
> From: if mythtv.isRecording(recorder):
> To: if mythtv.isRecording(str(recorder)):
>
> Line #99
> From: current.append(mythtv.getCurrentRecording(recorder))
> To: current.append(mythtv.getCurrentRecording(str(recorder)))
>
> Dave K.
>
>
> I now have seen that someone has entered a ticket against trunk for this
problem:

http://svn.mythtv.org/trac/ticket/7648#comment:2

Which doesn't appear to have been commited yet.  So not sure where this will
be fixed.

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).

-- Ken E.

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091128/741cb0db/attachment.htm>


More information about the mythtv-users mailing list