Plex
class Plex
Bootstrap class for using php-plex to interact with the Plex HTTP API.
Methods
Sets up our Plex using the minimum amount of data required to interact.
Allows an instantiating software to define a list of Plex servers on the network. In addition, the first server listed will be used to find the list of available clients and will register them accordingly.
Returns the requested of the firt server or by the unique name under which it was registered.
Returns the requested firt client or by the unique name under which it was registered.
Returns the requested all clients.
Details
at line 73
void
__construct(string $username = NULL, string $password = NULL, string $address = NULL, integer $port = NULL)
Sets up our Plex using the minimum amount of data required to interact.
at line 110
void
registerServers(array $servers)
Allows an instantiating software to define a list of Plex servers on the network. In addition, the first server listed will be used to find the list of available clients and will register them accordingly.
at line 163
Plex_Server
getServer(string $serverName = NULL)
Returns the requested of the firt server or by the unique name under which it was registered.
at line 189
Plex_Client
getClient(string $clientName = NULL)
Returns the requested firt client or by the unique name under which it was registered.
at line 212
Plex_Client[]
getAllClients()
Returns the requested all clients.