pyradio-client(1)
π Name π
Hey bestie, welcome to the pyradio-client(1) page in the General Commands Manual β itβs literally the Remote Control Client for PyRadio. π
pyradio-client β a Remote Control Client for PyRadio. Periodt. β¨
π Remote Control Client π
Okay so PyRadio comes with a client that you use together with the Remote Control Server the program provides, and it speaks the serverβs text command set. π«Ά
The client was built with maximum ease in mind; the user does not even have to provide the IP and PORT. Iconic, honestly. β¨
π₯ Command line parameters π₯
Bestie, hereβs literally the output of the pyradio-client -h command:
Usage: pyradio-client [-h] [--address] [-s SERVER_AND_PORT] [-r]
[-t TIMEOUT] [command]
PyRadio Remote Control Client
General options:
-h, --help Show this help message and exit
--address List available servers
Server Parameters:
-s SERVER_AND_PORT, --server_and_port SERVER_AND_PORT
Set the servers's IP and PORT (format: IP:PORT)
-r, --reverse-detection
Reverse server detection (when no server IP and PORT
specified); detect headless server last, instead of
headless server first
-t TIMEOUT, --timeout TIMEOUT
Set the timeout (default = 1.0)
command The command to send to the server
πΈ General options: πΈ
-h,--helpβ shows this help message and exits, slay. π--addressβ lists available servers. π
π¦ Server Parameters: π¦
-s SERVER_AND_PORT,--server_and_port SERVER_AND_PORTβ sets the serverβs IP and PORT; the format isIP:PORT. π°οΈ-r,--reverse-detectionβ reverses server detection: when no server IP and PORT are specified, it detects the headless server last instead of headless server first. π-t TIMEOUT,--timeout TIMEOUTβ sets the timeout; default =1.0. β±οΈcommandβ the command to send to the server. π
π§ How it works π§
The client will auto-detect the PyRadio Servers running on the system when the -s command line parameter is not used. No cap. β¨
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. β‘
Note: A normal server is a server started by a PyRadio instance which is executed on a real terminal, without the --headless command line parameter. π‘
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:
$ pyradio-client --addr
PyRadio Remote Control Server
Headless server: 127.0.0.1:11111
Server: 127.0.0.1:9998
Then, the address reported can be used to contact a specific server:
pyradio-client -s 127.0.0.1:9998 i
The previous command will get the info page of the normal instance of a server. π₯³
π See also π
π Thatβs the pyradio-client(1) page from the pyradio manual, dated June 2024 β mwah, bestie, bye! π
π¦ where this page comes from
- opensuse-leap 16.0: pyradio 0.9.3.9-bp160.1.10 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms