Property | Type | Description | |
---|---|---|---|
APP_DATA_PATH | string |
Method | Description | |
---|---|---|
GetLog ( ) : string |
Returns the log file as a string
|
|
GetSettings ( ) : string |
Returns the settings file from the server as a json string
|
|
GetStatus ( ) : PlexState |
Returns Running or Stopped
|
|
IsAuxAppRunning ( string name ) : bool |
A request from the client for the running status of a specific auxilliary application
|
|
Restart ( ) : void |
Restart Plex
|
|
SetSettings ( string settings ) : void |
Write the settings to the server
|
|
Start ( ) : void |
Start Plex
|
|
StartAuxApp ( string name ) : void | ||
Stop ( ) : void |
Stop Plex
|
|
StopAuxApp ( string name ) : void | ||
TrayInteraction ( ) : System | ||
WriteToLog ( string data ) : void |
Write the passed string to the logfile
|
Method | Description | |
---|---|---|
OnPlexEvent ( object sender, PlexServiceCommon.StatusChangeEventArgs e ) : void |
Plex status change event handler, forward any status changes to the clients
|
public IsAuxAppRunning ( string name ) : bool | ||
name | string | the name of the auxilliary application to check |
return | bool |
public SetSettings ( string settings ) : void | ||
settings | string | Json serialised Settings instance |
return | void |
public static WriteToLog ( string data ) : void | ||
data | string | |
return | void |