![]() |
![]()
| ![]() |
![]()
Namepyradio-client - a Remote Control Client for PyRadio Remote Control ClientPyRadio comes with a client to be used in conjunction with the Remote Control Server provided by the program, using the server’s text command set. The client is created with maximum ease in mind; the user does not even have to provide the IP and PORT. Command line parametersThe following is the output of the “pyradio-client -h” command: Usage: pyradio-client [-h]
[--address] [-s SERVER_AND_PORT]
[-r]
PyRadio Remote Control Client General options:
Server Parameters:
How it worksThe client will auto-detect the PyRadio Servers running on the system, when the “-s” command line parameter is not used. The auto-detection functionality is based on parsing the “server files” (residing in the STATE directory). If both a headless and a normal instance of PyRadio are detected, the headless server will be used to send the requested command, unless the “-r” (“–reverse-detection”) command line parameter is used.
A list of available commands will be displayed when no command has been specified. A list of detected servers (and their address) can be obtained using the command:
Then, the address reported can be used to contact a specific server:
The previous command will get the info page of the normal instance of a server. See alsopyradio_server(1)
|