View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#528
It's not complete.

- It won't show an event if it doesn't have an alarm. Please test if this is true.
- It won't show todos at the moment (easy to fix).
- It won't show the location because I'm not sure how to silently handle the KeyError exception when there is no 'location' key in the attribute dict.
- It won't show the calendar name because I don't know where to get a match for the 'notebook' value. It's easy to match manually, but to get it with the script, I don't know where to look for the calendar name.

Any help on any of these is appreciated.

Edit:

I just realised that the cookies are from the timed daemon and it's impossible to get events without alarms this way. I assume there is a database somewhere that stores the events but at the moment that's way beyond me. Probably the notebook value is in there, too. I don't have the time to look into it right now.

Last edited by slarti; 2013-01-16 at 06:44.