SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2008, 08:32 PM
Morgan111's Avatar
Morgan111 Morgan111 is offline
Sage Fanatic
 
Join Date: Nov 2003
Location: Oak Ridge, Tennessee
Posts: 762
Extender: Different property files are accessed between STV code and Java lib

In the NetFlix import I have cases where I set and get properties from the Studio code, and the Java code running in a jar file also gets and sets properties. On the Extender all of these operations are occurring in Program Files/SageTV/SageTV/clients/xxxxxxx.properties as I would expect. The get/set operations done in the Java library are interacting with Program Files/SageTV/SageTV/Sage.properties.

So when the config screens prompt for configuration data and write to the client/xxxx.properties file, the Java library code does not see it because it is looking in the server Sage.properties file. Is that the way it works or is there some problem in where files are installed or maybe the way the Java library is configured?
Reply With Quote
  #2  
Old 02-12-2008, 08:49 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
How are you doing the API calls in Java? If you call sage.SageTV.api, you're using the server's UI context and will access Sage.properties. If you call sage.SageTV.apiUI with the correct UI context, you'll access the specific properties file for that context.

If you're using my API wrappers, you need to instantiate the API wrapper class with a UI context in order to get the correct per-client properties file.
__________________
-- Greg
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
STV: GermSage -- Default STV enabling external players and more (v1.6) greggerm SageTV Customizations 139 09-05-2008 08:02 AM
SageTV V6.3 is now available for Win/Linux! Narflex Announcements 1 03-07-2008 12:33 PM
SageTV V6.3.2 Beta is Available! Narflex SageTV Beta Test Software 0 11-21-2007 07:08 PM


All times are GMT -6. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.