|
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
|
|||
|
|||
Not possible to read from windows registry on extender?
I have some java code some windows registry code. It works fine on the server and clients but doesn't on the extenders. I would think the extender should get the same value as the server but I am getting no return for the extender is there anyway around this issue?
I guess worst case scenerio I could write the server read and make the extenders use that read but would require server running before any extenders not ideal. |
#2
|
||||
|
||||
Are you talking about extenders in standalone mode? You're not running under Windows in that mode, hence no registry to read.
If you're talking about extender mode, i.e. connected to a SageTV server, then your code is running on the server and reading the server's registry. If you're having issues with that, maybe you're trying to read from keys that don't exist. But in that case I have no idea what you mean about starting the server before the extenders, since your code executes on the server.
__________________
-- Greg |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
127.0.0.1 is the local machine which would be the server. Wouldn't the path need to be UNC and not mapped?
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#5
|
|||
|
|||
Yeah the path in the registry is a unc path but for some reason when the extender gets the value that is what it returns but from the server ui it returns fine.
|
#6
|
||||
|
||||
You're sure you're reading the identical registry path in both cases? If it's a subkey of HKEY_CURRENT_USER then it may not be the same, depending on which user you're logged in as. So for instance SageTVService may be logged in as one user and get one value from that key, whereas the SageTV UI process may be logged in as a different user with a different value.
And to state the obvious, code with Windows registry dependencies won't work on Mac or Linux systems. So be aware that you're excluding those users by introducing such dependencies.
__________________
-- Greg |
#7
|
|||
|
|||
Quote:
and as for the other yeah this is for mymovies addin which is windows exclusive unfortunetly so Linux and mac won't be supported. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTPC Extender (Diskless, lowcost, Windows 7, etc.) | zakrzep | Hardware Support | 9 | 01-21-2010 06:43 PM |
Jerky Blu-ray playback from Windows Home Server to HD-200 Extender - SOLVED | DMT | SageTV Beta Test Software | 6 | 06-23-2009 09:01 PM |
playing windows media streams on sage extender | geekgr | SageTV Media Extender | 0 | 01-03-2008 07:48 PM |
Recommendation: Media Extender vs. Windows Client | mattporco | Hardware Support | 6 | 01-08-2006 09:12 PM |
forum posts not marked read when read? | xlr8shun | The SageTV Community | 2 | 05-04-2004 01:49 AM |