[mythtv-users] mythcal updated for the new Google Calendar API
Eric Sharkey
eric at lisaneric.org
Fri Jan 16 14:57:36 UTC 2015
On Fri, Jan 16, 2015 at 3:26 AM, Richard Fearn <richardfearn at gmail.com> wrote:
>> Interesting. I gave it a whirl, but it failed for me.
>
> Sorry, that was my mistake. I had only updated the 0.27 branch, but
> hadn't merged the changes to master (though I have done this now).
>
> To switch to the 0.27 branch:
>
> $ git co 0.27
(Assuming you meant git checkout 0.27.)
I got a little farther this time. The dry run succeeded, but it
failed when trying to do actual updates:
Traceback (most recent call last):
File "./mythcal", line 309, in <module>
service.events().insert(calendarId = settings.calendar.id,
body=event).execute()
File "/usr/lib/python2.7/dist-packages/oauth2client/util.py", line
132, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/apiclient/http.py", line 723,
in execute
raise HttpError(resp, content, uri=self.uri)
apiclient.errors.HttpError: <HttpError 403 when requesting
https://www.googleapis.com/calendar/v3/calendars/lisaneric.org_48mhem25npugqnqkpqgen39sfo%40group.calendar.google.com/events?alt=json
returned "Rate Limit Exceeded">
About four days worth of recordings were added to the calendar, then
it died. You probably need to throttle this somehow when the number
of recordings is large.
Eric
More information about the mythtv-users
mailing list