![]() |
|
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
|
||||
|
||||
Warning: ApplicationStartedHook and Placeshifter
I have just got bitten by this issue and would like to let others know about it:
Do not rely on ApplicationStartedHook to start any background tasks when using Placeshifter over an internet connection. The reason for this problem is that ApplicationStartedHook is launched when the *first* STV is loaded, and when Placeshifter is run over the internet, the *first* STV to be loaded is the SecureLogin.xml, not the users' custom STV. So this means that ApplicationStarted Hook is triggered in SecureLogin.xml only... This created a problem that only showed up when logging in over the internet, but I could not reproduce when logging in locally (caused lots of head banging on desk!) Related: one should not rely on ApplicationExiting hook either, because a user can change STVs before exiting... I am going to ask Sage for new global hooks: STVLoaded STVUnloaded which might be a better place to put STV-related initialization/shutdown routines...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki ![]() Last edited by nielm; 09-24-2007 at 04:28 AM. |
#2
|
|||
|
|||
Nielm,
If you set: miniclient/authenticate_local_connections=true you should be able to replicate the internet connection experience. Right? B |
#3
|
||||
|
||||
yes (apart from the speed)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki ![]() |
#4
|
||||
|
||||
BTW: I posted some info about this initilization issue here: STV Initializations vs. ApplicationStarted hook. The same solution could be applied here for startup, but not as easily for code to run when the STV is unloaded.
- 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. |
#5
|
||||
|
||||
From the other thread...
Quote:
![]()
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki ![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows XP placeshifter - will not connect using LocatorID | dwalton22 | SageTV Placeshifter | 12 | 08-10-2007 09:31 AM |
Two placeshifter clients on one PC? | Fountainhead | SageTV Placeshifter | 2 | 01-08-2007 04:08 PM |
Improve Placeshifter PQ over LAN? | zubblwump | SageTV Placeshifter | 7 | 11-06-2006 04:21 PM |
A Couple Placeshifter Questions | zubblwump | SageTV Placeshifter | 0 | 09-24-2006 08:42 AM |
SageTV V4.1.11 Beta Is Available - Better Placeshifting! | Narflex | SageTV Beta Test Software | 81 | 04-04-2006 09:39 PM |