|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#81
|
|||
|
|||
nielm,
Any chance you could add some info about clients to the output? SageTV allows the computer to go into standy even if there are clients connected (even if they are watching a recorded show). I have a simple app that uses your GetStatus output to display on my LC10 iMon VFD and if there was some info about clients in the output of GetStatus, I could deny the suspend request in my VFD app. GetStatus currently returns no info when a client is watching a recording so... A) include info about recordings being viewed regardless if it's local or a client or B) include number of clients via "GetConnectedClients" (returns String[] of client ips) I currently solved the problem by creating a simple plugin that writes the client ips to a textfile every so often and my VFD app just checks for the existance of that file. However, it would be a much cleaner solution if that info was in the GetStatus output Either way, thanks for all the work on GetStatus! |
#82
|
||||
|
||||
You should report this as a bug -- The server should not allow suspend when it is active...
In any case there is no way of obtaining that information... Sorry... The API in the server instance has no info about connected clients and what they are watching... (you could hack something by reading the output of netstat -aon or OpenPorts to see if something is connected to the sagetv port..)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#83
|
|||
|
|||
Actually it does have information about the clients connected and it is easily obtained just like the info your GetStatus plugin gets.
String strClients[] = (String[])SageApi("GetConnectedClients",null); This returns an array of client ip addresses. If there are no clients, it returns an array of length 0. BTW, where do I submit bug reports for SageTV? Last edited by cipher; 06-12-2005 at 07:54 AM. |
#84
|
||||
|
||||
I stand corrected (I checked earlier and it gave me an error: Must have mis-typed it!) I will put it in the next versions of this and the webserver plugins...
There is no API though for 'Get what connected clients are watching'.. Bugreports should go via Sages web page Support request
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#85
|
||||
|
||||
Nielm,
Would there be any chance of adding the disk space used and remaining, into the data returned by this? It would be great addition for my NetRemote Interface. Currently it displays the Recorder and playing status, it also used this to control the state of the play / pause button. Cheers Dan |
#86
|
||||
|
||||
Danward79 or anyone, how does one use this with Girder? I found your script Danward79 but I am not sure how to call those variables in LCDmaster. Has anyone got this working or can offer some advice? Thanks!
|
#87
|
||||
|
||||
Quote:
|
#88
|
||||
|
||||
Thanks alot danward79! However I gave up and switched over to jaLCD. Girder's LCD stuff was just a bit too much trouble and a bit too inflexible. Thanks alot though!
|
#89
|
||||
|
||||
Is there anyway we can get SageMon to work? I would really benifit from having this information available on another machine... I've asked about it in the past, but there was never a solution for "Data returned from server was empty"
|
#90
|
|||
|
|||
silkshadow, I see youring using jaLCD. How are you interfacing with sagemon to get information?
I have been using lcdsmartie but have been running into conflicts with my USB-UIRT. I want to try switching to jaLCD to see if my issues clear up. |
#91
|
|||
|
|||
Quote:
You've gotten the Girder interface to work, then? Are you using NetRemote to send different commands to Sage with the same button press, depending on what Sage is doing at the time? Don |
#92
|
||||
|
||||
Quote:
|
#93
|
|||
|
|||
I am using the Sage status monitor successfully with Sage 2.2. When Sage 3 comes out (looking like it might be pretty soon) I want to switch to it. Does this status monitor work with Sage 3, RC2?
thanks. |
#94
|
|||
|
|||
bump...version 4?
|
#95
|
||||
|
||||
Quote:
|
#96
|
|||
|
|||
Yes it works in version 4.
Anders |
#97
|
|||
|
|||
Very late reply
Quote:
|
#98
|
||||
|
||||
Hi,
I noticed I was missing the now playing info in this from sage, so investigated and have found that for some reason. It is missing from the sagetv data returned from the plugin. Has anyone else had this problem? Is it know about? Anyideas? See the screenshot below. Cheers Dan |
#99
|
||||
|
||||
Quote:
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#100
|
||||
|
||||
Thanks, I think I am using it in service mode.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|