SageTV Community  

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

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-22-2011, 03:28 PM
thegodfaza thegodfaza is offline
Sage User
 
Join Date: Jun 2009
Posts: 44
sagex-api Extender Clients

I've received some reports that my application does not work with Media Extenders such as the HD300. As I do not have a SageTV Extender and don't plan on buying one just to test my app I was wondering if anyone who has the sagex-api on their server and an Extender could send me the output of the GetConnectedClients command while the Extender is connected to the SageTV Server. All you have to do is go to "http://<server address>:<port>/sagex/api?c=GetConnectedClients" while the Extender is connected and post the output in a reply.

Example: This is what I get with a Software Client connected.
Code:
<Result size="1">
<Item>/192.168.0.28:49163</Item>
</Result>
Reply With Quote
  #2  
Old 06-22-2011, 03:39 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
The GetConnectedClients only works for software clients, you are not going to get the list of extenders with it...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #3  
Old 06-22-2011, 03:57 PM
thegodfaza thegodfaza is offline
Sage User
 
Join Date: Jun 2009
Posts: 44
So is it possible to send a command to an extender through the sagex-api?
Reply With Quote
  #4  
Old 06-22-2011, 04:06 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Sure, but you'll need to grab its UIcontext some other way...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #5  
Old 06-22-2011, 04:27 PM
thegodfaza thegodfaza is offline
Sage User
 
Join Date: Jun 2009
Posts: 44
I can't seem to find any other way in the API to get the UIContext of the active connected clients. I tried GetUIContextNames but that just comes back empty even though I have a client connected.
Reply With Quote
  #6  
Old 06-22-2011, 07:09 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by thegodfaza View Post
I can't seem to find any other way in the API to get the UIContext of the active connected clients. I tried GetUIContextNames but that just comes back empty even though I have a client connected.
I'm pretty sure GetUIContextNames is the correct API to return the extenders that are connected.
Reply With Quote
  #7  
Old 06-22-2011, 07:48 PM
thegodfaza thegodfaza is offline
Sage User
 
Join Date: Jun 2009
Posts: 44
Quote:
Originally Posted by stuckless View Post
I'm pretty sure GetUIContextNames is the correct API to return the extenders that are connected.
Guess it only works extenders. Does it return in the same format "/<ip>:<port>"? Is there a way to emulate an extender without actually having one for testing?
Reply With Quote
  #8  
Old 06-22-2011, 08:52 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by thegodfaza View Post
Is there a way to emulate an extender without actually having one for testing?
Use Placeshifter.
__________________
-- Greg
Reply With Quote
  #9  
Old 06-23-2011, 01:01 AM
thegodfaza thegodfaza is offline
Sage User
 
Join Date: Jun 2009
Posts: 44
Quote:
Originally Posted by GKusnick View Post
Use Placeshifter.
That worked quite nicely.
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
Youtube not working on extender, fine on clients and server APillowOfClouds SageTV Media Extender 5 03-08-2011 09:43 PM
Extender vs Full Sage Clients macsupergeek Hardware Support 12 06-30-2010 02:11 PM
Linux server with Vista/Extender Clients Compulov SageTV Linux 5 02-28-2009 11:58 AM


All times are GMT -6. The time now is 03:18 AM.


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