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

David Knight dlknight at sdf.lonestar.org
Sat Nov 28 12:47:10 UTC 2009


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.




More information about the mythtv-users mailing list