|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Good/Reliable Way to Determine Sage Install/Execution Directory
I don't see any API functions or properties that give me this. Is there a way to discover this directory without going to the registry (Windows only) or navigating from the current STV (which seems like it could easily become unreliable)?
__________________
-Craig |
#2
|
||||
|
||||
#3
|
|||
|
|||
Quote:
__________________
-Craig |
#4
|
||||
|
||||
What about the SageTV version? I see GetRemoteClientVersion(), but what about the server itself?
|
#5
|
|||
|
|||
I don't use Studio, but I know Sage under Linux has a problem with this. E.g. I am installing Sage into directories like this
/opt/sagetc/server_v1 /opt/sagetc/server_v2 /opt/sagetc/server_v3 then I create symlink to whichever verion I want to run l /opt/sagetc/server -> /opt/sagetc/server_vx and then I run /opt/sagetc/server/start... The problem is that Sage writes to property files and other places /opt/sagetc/server_vx rather than /opt/sagetc/server. I then have to go and manually change it. |
#6
|
||||
|
||||
java_lang_System_getProperty("user.dir")
John |
#7
|
|||
|
|||
GetWorkingDirectory() does seem to work consistently on Windows at least. Thanks for the suggestions.
__________________
-Craig |
#8
|
||||
|
||||
There's a new API in the recent betas for GetDefaultSTVFile(). You should be able to derive the install path from that.
__________________
-- Greg |
#9
|
|||
|
|||
Well, it turns out that GetWorkingDirectory() returns the working directory on the server even when it's used on a local software Client??
Is java_lang_System_getProperty("user.dir") the Java equivalent that would work on the local client? I hesitate to navigate from the Default STV file location because it seems that this could easily change. Also, this might return the server default STV location too?
__________________
-Craig |
#10
|
||||
|
||||
Quote:
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#11
|
|||
|
|||
Excellent. Thanks.
__________________
-Craig |
#12
|
||||
|
||||
I figured I should post an update about this, since it changed again...
Quote:
Quote:
The next default STV will contain this change. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Successful BTV to Sage Conversion | deipert | SageTV Software | 7 | 01-19-2008 09:15 PM |
Another BTV to Sage TV Conversion | deipert | SageTV Software | 6 | 01-15-2008 03:55 PM |
Sage has experienced a critical error and must close | chadman | SageTV Beta Test Software | 3 | 11-11-2006 02:02 PM |
Sage DVD Player vs. Zoom/TT Players | Jesse | SageTV Software | 47 | 02-17-2006 02:34 PM |
Sage DVD Player | mg99 | SageTV Software | 6 | 01-12-2005 09:41 PM |