Squeezelite is a lightweight headless squeezebox emulator. It is controlled via command-line arguments. Below is a comprehensive list of available options. Note that availability of certain flags depends on how the binary was compiled (e.g., ALSA, PortAudio, DSD, GPIO, etc.).
# Core Connectivity and Output
-s <server>[:<port>] Connect to specified server, otherwise uses autodiscovery
-o <output device> Specify output device, default "default", - = output to stdout
-l List output devices
-b <stream>:<output> Specify internal Stream and Output buffer sizes in Kbytes. Default is %d:%d
# Codec and Sample Rate Control
-c <codec1>,<codec2> Restrict codecs to those specified; known codecs: [LIST_OF_CODECS]
-e <codec1>,<codec2> Explicitly exclude native support of one or more codecs
-r <rates>[:<delay>] Sample rates supported (e.g., <maxrate> or <minrate>-<maxrate> or <rate1>,<rate2>); delay = optional delay switching rates in ms
-W Read wave and aiff format from header, ignore server parameters
-Z <rate> Report rate to server in helo as the maximum sample rate supported
# Player Identity
-m <mac addr> Set mac address, format: ab:cd:ef:12:34:56
-M <modelname> Set the squeezelite player model name sent to the server
-n <name> Set the player name
-N <filename> Store player name in filename for sharing between servers
# Logging and Debugging
-d <log>=<level> Set logging level. Logs: all|slimproto|stream|decode|output|ir. Levels: info|debug|sdebug
-f <logfile> Write debug to logfile
# Advanced Audio and Resampling
-a <params> Specify output device parameters (syntax varies by backend: ALSA, PortAudio, etc.)
-R -u [params] Resample. params = <recipe>:<flags>:<attenuation>:<precision>:<passband_end>:<stopband_start>:<phase_response>
-D [delay][:format] DSD support: delay = optional delay switching between PCM and DSD/DoP; format = dop, u8, u16le, u16be, u32le, u32be, dop24, dop24_3
# System and Hardware
-z Daemonize
-P <filename> Store the process id (PID) in filename
-G <chip>:<line>:<H/L> GPIO: Specify chip, line, and Active High (H) or Low (L) for Amp Power Relay
-S <Power Script> Absolute path to script to launch on power commands from LMS
-i [<filename>] Enable lirc remote control support