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 01-30-2008, 08:00 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Question How to execute external program on the server?

Hi everyone,

I'd like to trigger the execution of an external (command line) program on the server from within SageTV on any client (PC, extender, or placeshifter). Looking through the API, I found the ExecuteProcess method, which might work for Placeshifter and SD/HD extenders. But it looks like it would only execute a program locally on a PC client.

Does anyone have any thoughts on how I might do this? Thanks.

Aloha,
Mike
Reply With Quote
  #2  
Old 01-30-2008, 09:26 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I never looked into starting something on the server PC from a client PC. But, just in case you didn't know this, I thought I would mention that if using service mode in Windows, a remote client (PS or extender) probably won't be able to have the service start a process unless the service is configured to be allowed to interact with the desktop.

- 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.
Reply With Quote
  #3  
Old 01-30-2008, 10:15 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Thanks Andy.

SageTV can essentially do this now with the ExeMultiTuner plugin. Come to think of it, is the source code for the ExeMultiTuner plugin available? Or is there an API available for writing something similar?

Aloha,
Mike
Reply With Quote
  #4  
Old 06-28-2008, 09:08 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by Opus4 View Post
But, just in case you didn't know this, I thought I would mention that if using service mode in Windows, a remote client (PS or extender) probably won't be able to have the service start a process unless the service is configured to be allowed to interact with the desktop.
I have found strange behavior in that the UI for the program executed by the extender is only displayed if the service is logged in as the "local system" account with desktop access. If you have the service logged in as a particular user then the UI is not shown even when you are physically logged in as the same user on the server itself (the process is shown in task manager but no UI is shown). This doesn't make much sense to me. It seems like if you are logged in as the same user you should have more access than the system account?
__________________
-Craig
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
Perfect SageTV server MB for basement? valnar Hardware Support 24 04-30-2007 09:24 AM
help... Placeshifter does not like new server... spect_tv SageTV Placeshifter 2 07-11-2006 11:41 PM
how does placeshifter automatically discover a server on the lan? bbobbo SageTV Placeshifter 2 06-30-2006 08:37 AM
How to disable the popup window in the program guide? How to keep the program guide? metropole SageTV Software 8 05-18-2006 06:25 PM
SageTV 4.1 is crashing Win2003 server SethV SageTV Software 7 02-03-2006 11:16 PM


All times are GMT -6. The time now is 06:05 PM.


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