|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
STV Import: Google Calendar for SageMC (v0.4 / May 24, 2007)
Here is the fruit of another joint effort between flachbar (Dirk) and myself. This STV Import for SageMC provides a front-end interface to your Google Calendar account from within SageTV. Dirk did most of the heavy lifting on this one. He created the java wrappers for the Google Calendar API as well as working his magic on additional java methods and various portions of the UI. I worked on the UI and the calculations for moon phase and sunrise/sunset. We hope you guys like it!
You can download the plugin here. Requirements: SageTV v6.x, Java 1.6 or higher, SageMC v6.3.x Installation: 1. Unzip the download into your SageTV folder. 2. With SageTV shut down, open the sage.properties (or sageclient.properties) file and add the following lines and save: google_calendar/user= ###### google_calendar/password= ###### (Enter your Google Calendar login information in place of the pound signs) 3. Start SageTV and navigate to Import STVi under the Setup menu in SageMC. 4. Import GoogleCalendar.xml (Important Note: Due to limitations in the import utilities, you can only perform the import on the server or on a true client. To use the calendar on and extender or placeshifter, you can then load the SageMC .xml file withthe calendar already imported.) 5. The calendar is accessible from the Calendar Icon added to the Main Menu. Alternately you can add a menu item for the calendar using an available Custom menu item or by using dynamic menus to link to the ‘Calendar’ internal screen. Features: 1. Events in your Google Calendar are displayed. 2. Add/Modify all-day and time-specific events with a remote control or keyboard in the Daily Planner screen. (Accessed by selecting or clicking on the desired day in the calendar. 3. Display information from up to 3 additional calendars (Must be configured from your Google Calendar account through the web interface) 4. Calculates Sunrise and Sunset times based on the ZIP code you entered for the Weather setup. (Local latitude/longitude coordinates are read from ZIP_CODES.txt in the …\SageTV\STVs\SageTV3\SageMCE\ folder. If your zip code is not listed, you can manually add it and your latitude/longitude coordinates to the end of the file using the same format as the other listings.) 5. The phase of the moon is calculated and displayed for the focused day. 6. Separate assignable calendar cell color highlights for each active calendar’s events. (The initial setting for all calendars is 0x990099 (purple). In the screen shot, I changed the default calendar color to 0x009900 (green)) Navigation: - Use arrows or mouse-over to move to any cell in the calendar. - First and last Calendar cells have arrows. Navigating left from the first cell (with left arrow displayed) or right from the last cell (with right arrow displayed) moves you back or forward 1 month, respectively. Arrows can also be clicked. - Skip fwd/back moves forward or back 1 month, respectively. - Skip fwd2/back2 moves forward or back 1 year respectively. - Navigating up from the top row of Calendar cells or mousing over the day headers, rolls out a navigation bar with Forward and Back buttons. - Pressing the Options key brings up an Options menu where event data can be refreshed and calendar options can be accessed. (Calendar options are also available under the Extras section of the SageMC Options screen) - Press select or click on a calendar cell to switch to the Daily Planner screen for that date. Version History v 0.1 Initial Release v 0.2 STVi changes Added parsing of events when downloaded in 24hr format Added option for shortened inline event display (only displays start time and event description) Disabled 'shrink to fit' for inline event text and made font size user configurable in options menu Changed inline event display logic. Will now display more than one event per calendar (displays up to 6 total events inline at default font size). Added heirarchy to options menu to allow for more options than can fit in two columns Toggle info panel display (can be mapped to Info or Custom1-5 keys and also added to options menu) Made Info Panel event font size user configurable Added enable/disable option for each custom calendar Added option to enable/disable sunrise/sunset display in info panel Added option for time display on main menu icon Added code to allow the user to move the main menu icon location. (Hit options key while icon is highlighted and use arrow keys to move the icon) Made Daily Planner event font size user configurable Changed display logic in Daily Planner so that only items in default calendar will be shown Added date display to the start/stop times when adding/modifying and event in Daily Planner Disabled video preview in Calendar and Daily Planner screens calendar.jar changes (Thanks Dirk!) Increased event download limit from 25 to 1000 Changed user/password properties to google_calendar/user= and google_calendar/password= (Note: The old user/password location is still recognized. There is no need to change this if already entered.) Selectable Calendar Icon on Main Menu (upper left) Main Calendar screen Navigation Bar visible Daily Planner screen Event entry dialog
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) Last edited by MeInMaui; 05-18-2007 at 03:16 PM. |
#2
|
||||
|
||||
Wow. That looks impressive...
Do you have any plans to create something similar for the default STV? I have just done something which I hate to see -- the first post on an amazing new customization is a demand for some new feature for it... In mitigation, if you do not have plans for a default STV version, May I start work on it myself
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki Last edited by nielm; 04-17-2007 at 04:40 AM. |
#3
|
||||
|
||||
Wow! It looks fantastic, great work guys!
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#4
|
||||
|
||||
Nice!
Ill have to install this.. Good work.. technazz
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client |
#5
|
||||
|
||||
Wow - That is impressive! It put what little I have been working on to shame!
Is this one of the things you were hinting at, that the two of you had been working on?
__________________
Mike : Technical Architect / Software Engineer HTPC : Intel® Core 2 Q6600 2.4GHz Quad Core Processor, 3GB RAM, 1TB DASD, Vista Home Prem, HdHomerun (2x Comcast QAM) Main TV: Samsung 56" HDTV - STX-HD100 720p - HDMI - Sony DG910 |
#6
|
||||
|
||||
Quote:
No worries about the feature request. I had not thought about doing a default STV version. I'll take a look at it. Hopefully it won't be too hard to port over. In the mean time you are welcome to play with it. Just please be kind when you see the mess under the hood. I'm not a programmer. (Though Dirk is, so he has saved me from my most aggregious errors.) Thanks! Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) Last edited by MeInMaui; 04-17-2007 at 01:25 PM. |
#7
|
||||
|
||||
Quote:
Once the dust settles, we already have some ideas for the next project. Thanks for all of the comments everyone! Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#8
|
|||
|
|||
#9
|
||||
|
||||
Great job guys! I had started using google calendar a number of months ago and this will be a great way for us to check our schedules!
|
#10
|
||||
|
||||
Having a slight problem. After I click on the calender I am getting ghosting/overlays. So it displays the calendar page and also my main menu page at the same time....any thoughts. Does it matter where I am pulling my background image from? I'll try reimporting and see what happens from there.
Very cool though! (the calendar part, not the ghosting/overlays) edit. just tried again. Its actually overlaying over My Menu (i added the calendar link from there)....
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv Client: MVP Extender running SageMC Last edited by JUC; 04-17-2007 at 04:20 PM. |
#11
|
||||
|
||||
Quote:
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#12
|
||||
|
||||
That did the trick. Apparently I had multiple background images in many places with my paths pointing all over the place. Cleaned it up and all is good. Very Nice!
Thanks, Juc
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv Client: MVP Extender running SageMC |
#13
|
|||
|
|||
Wow. Nice work. Unfortunately I can't allow myself to be duped into using a service that will catalog all my activities for everything they can get their grubby hands on. I like the search engine though.
|
#14
|
||||
|
||||
Quote:
Corporate data slips out via Google calendar
__________________
Thanks, Scott aka Spike5884 |
#15
|
|||
|
|||
Quote:
Dirk |
#16
|
|||
|
|||
This is really nice. Thank you.
|
#17
|
||||
|
||||
Wow! Great enhancement Will actually use Google Calendar now.
Wee point... After adding an event, it is shown next to "All day event" on the daily planner screen rather than next to the appropriate timeslot. Also, any plans to implement reminder features?
__________________
P4 2.8 + Zalman CNPS7700-ALCU, 1.25Gb RAM, 80Gb / 250Gb ATA, ATI 9800XT + Zalman VF700-CU, Sweetspot RGB capture card (Sky SD) / Hauppauge Nova-T tuner (Freeview DVB-T) http://www.osirisphoto.com |
#18
|
|||
|
|||
I like it too
I've just discovered a free service called goosync that allows you to synchronise the calendar on your Nokia phone (series 60 OS) with google calendar Is there any easy way to remove the ical alike icon on the front screen ? Id rather just access through one of the custom menus. I'm happy with remove the bits from the XML file and re-import if you can point me to the right bits Cheers Tim
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
#19
|
|||
|
|||
Quote:
Simply disable "Show Main Menu button" in the calendar options Dirk |
#20
|
|||
|
|||
Reminder to self - explore all options before posting on forums
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Toolbar for SageMC (v1.0a / June 11, 2007) | MeInMaui | SageMC Custom Interface | 136 | 03-11-2009 03:12 PM |
STV: SageMC 16x9 Version 6.x (latest dev build) | dflachbart | SageMC Custom Interface | 6112 | 04-04-2008 11:16 PM |
STV update for Online Videos in v6.1.9 | Opus4 | SageTV Software | 8 | 09-12-2007 05:42 PM |
Import DVD Profiler xml into default STV | wags119 | SageTV Customizations | 7 | 10-30-2006 07:35 PM |