SageTV Community  

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

Notices

SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-31-2017, 11:35 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Identifying SageTV contexts

In my sage.prop file under sagex there is an enumeration of the contexts which includes, at least in my case, SageTV client, SageTV Placeshifter, SageTV server and the Android client.

Below is a snapshot of that portion of the file.


Code:
sagex/uicontexts/001d6a5dbe47/ip=192.168.1.59
sagex/uicontexts/001d6a5dbe47/name=BedRoom1		<-- SageTV HD200
sagex/uicontexts/001d6a5dbe47/type=Hardware
sagex/uicontexts/0023a50009cd/ip=192.168.1.50
sagex/uicontexts/0023a50009cd/name=TV Rm HD300		<-- SageTV HD300
sagex/uicontexts/192.168.1.141/name=192.168.1.141
sagex/uicontexts/192.168.1.178/name=192.168.1.178
sagex/uicontexts/192.168.1.89/name=Kitchen PC
sagex/uicontexts/192.168.1.91/name=192.168.1.91		<-- SageTV Client
sagex/uicontexts/192.168.1.94/name=192.168.1.94
sagex/uicontexts/305a3adfd37c/ip=192.168.1.98
sagex/uicontexts/305a3adfd37c/name=Brora PC
sagex/uicontexts/305a3adfd37c/type=Hardware
sagex/uicontexts/448a5b24ff26/ip=192.168.1.93		<--Placeshfter
sagex/uicontexts/448a5b24ff26/name=Office PC
sagex/uicontexts/448a5b24ff26/type=Hardware
sagex/uicontexts/475a4c5a674e/name=Mi Box Office	<-- Android TV MiBox
sagex/uicontexts/475a4c5a674e/type=Hardware
sagex/uicontexts/4b4c42554f58/name=Wayne's BB Priv	<--Android Phone
sagex/uicontexts/4b4c42554f58/type=Hardware
sagex/uicontexts/SAGETV_PROCESS_LOCAL_UI/name=SAGETV_PROCESS_LOCAL_UI    <--Server
Is there any easy way to tell the type of client as in: Server, Client, Extender, Placeshifter, Android? Or do I just have to infer this from the MAC address and context name? For example:
left(contextname,4)="001d" - HD200
left(contextname,4)="0023" - HD300
contextname is IP address - client
contextname = "SAGETV_PROCESS_LOCAL_UI" - server
else - Placeshifter


And how does SageX get this info? And why is the name Hardware used on so many instances? Should Type be changed to one of {server,client,hd100,hd200,hd300,placeshifter,android}? Who is the owner of Sagex these days? Better yet should this be added to the core of SageTV rather than a plugin?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #2  
Old 12-31-2017, 12:28 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I know jreichen and myself came up with the sagex/uicontexts/ but to be honest, I have no idea how it gets populated, or what other fields exist, or what "type" means
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
How do you get all contexts listed in sage.properties wayner SageTV Github Development 5 02-07-2017 08:46 AM
How are plugins identifying Favorites? Opus4 SageTV v7 Customizations 9 03-22-2011 07:52 PM
Best way to communicate between threads in different UI contexts? tmiranda SageTV Studio 58 05-18-2010 03:21 PM
Identifying Programs Already Scheduled or Recorded? PeteCress SageTV Software 0 04-10-2009 07:22 PM
Identifying Nvidia Decoders mightyt Hardware Support 7 12-09-2005 06:16 PM


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


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