Usage - librespot-org/librespot GitHub Wiki

A sample program implementing a headless Spotify Connect receiver is provided. Once you've built librespot, run it using :

target/release/librespot --name DEVICENAME 

This is the most basic form of librespot.

Note about NAME, USERNAME and PASSWORD.

If any of the above have special characters please enclose them in either double quotes " or single quotes '.
The only additional restriction for NAME is that it cannot have a . at the beginning or end.