Hello,
I am thinking about coding a solution to display schedules from a google calendar onto TV.
For that, I need to write a script that fetches the calendar schedules from a given google calendar account and generates a suitable SOAP message that is forwarded to the port of the DLNA service on localhost. A configuration is necessary where the user enters his google login data and declares how many minutes before a calendar event happens he wants to be informed.
To keep the things easy, I am looking for a small console program to read out a calendar to be called from my upcoming script.
I only found gcalcli and a few other alternatives that are also python-based. These may be usable but a bad alternative because lots of dependencies have to installed to. So I would prefer a staticly linked binary console client. Does anybody know something what is usable?
showing google calendar schedules on TV
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: showing google calendar schedules on TV
question is anybody without android phone use the google calendar?goaskin wrote:Hello,
I am thinking about coding a solution to display schedules from a google calendar onto TV.
For that, I need to write a script that fetches the calendar schedules from a given google calendar account and generates a suitable SOAP message that is forwarded to the port of the DLNA service on localhost. A configuration is necessary where the user enters his google login data and declares how many minutes before a calendar event happens he wants to be informed.
To keep the things easy, I am looking for a small console program to read out a calendar to be called from my upcoming script.
I only found gcalcli and a few other alternatives that are also python-based. These may be usable but a bad alternative because lots of dependencies have to installed to. So I would prefer a staticly linked binary console client. Does anybody know something what is usable?
btw. http://code.google.com/intl/de-DE/apis/ ... guide.html (hint: php is in extensions pack)
hth
arris
Re: showing google calendar schedules on TV
I decided to co another way:
I will write a small C++ program using libgcal that dumps the calendar and sends soap messages if a calendar event will happen in a given time:
gcalsoap [username] [password] [time: 30] [host: localhost] [port: 52235]
Last three parameters may be optional using defaults if not set. The program will run until it receives a SIGKILL and generate a soap message sent to the DLNA port each time an event will happen in the next minutes that are set in the third parameter. It may be started on the TV or another Linux system in the local network.
I will write a small C++ program using libgcal that dumps the calendar and sends soap messages if a calendar event will happen in a given time:
gcalsoap [username] [password] [time: 30] [host: localhost] [port: 52235]
Last three parameters may be optional using defaults if not set. The program will run until it receives a SIGKILL and generate a soap message sent to the DLNA port each time an event will happen in the next minutes that are set in the third parameter. It may be started on the TV or another Linux system in the local network.
-
- Official SamyGO Developer
- Posts: 1700
- Joined: Fri Oct 02, 2009 8:52 am
- Location: Austria/Vienna (no Kangaroos here)
- Contact:
Re: showing google calendar schedules on TV
made some tests with the sample code (Get_all_contacts) from the gcalc page. the tv's time has to be set to the correct time but this fucks up the time what the tv displays.goaskin wrote:I decided to co another way:
I will write a small C++ program using libgcal that dumps the calendar and sends soap messages if a calendar event will happen in a given time:
gcalsoap [username] [password] [time: 30] [host: localhost] [port: 52235]
Last three parameters may be optional using defaults if not set. The program will run until it receives a SIGKILL and generate a soap message sent to the DLNA port each time an event will happen in the next minutes that are set in the third parameter. It may be started on the TV or another Linux system in the local network.
btw. if you get your app working on a linux machine i can assist you to compile it for b series tv.
edit: some samples. http://linux.zsolttech.com/Samsung/Deve ... _armv6.ipk
http://linux.zsolttech.com/Samsung/Deve ... l_events.c
hth
arris
Last edited by arris69 on Sun May 22, 2011 4:12 pm, edited 1 time in total.
Reason: sample code and precompiled stuff
Reason: sample code and precompiled stuff