Home of the Squeezebox™ & Transporter® network music players.

CLI

From SqueezeboxWiki

Jump to: navigation, search

CLI -- Command Line Interface

Documentation is available in your SqueezeCenter's web interface.

Goto Help > Technical Information > Command Line Interface

In general, you connect to the server using the 'telnet' protocol, which is the basis for most of the Internet protocols. The stanard (default) port if 9090.

simple examples

Assume you have your SqueezeCenter installed on a computer named "musicserver". Then to do a query to the server, you can do:

To get the number of players connected to the server:

telnet musicserver 9090
player count ?
exit

To get the number of albums in the database:

telnet musicserver 9090
info total albums ?
exit

To start a rescan:

telnet musicserver 9090
rescan
exit