spotipy control is an open source library for controlling spotify connect devices based on the librespot project.
spotipy control is a very limited python port. The focus is to login with your normal credentials (username, password)
or with your devices (spotify connect) to get a token for to use the spotify web api.
No need for a redirect url.
Under developing: No working example
- You will need python3 at least
- Clone this repo
- Install requirements:
pip install requirements.txt
-
Run
python3 spotify.py -u username -p password -i client_idto get token with normal credentials -
Run
python3 spotify.py -n 'Spotipy' -i client_idto advertise a speaker 'Spotipy', with which you can connect over your devices.
The repo comes with precompiled protobuf implementations. To generate them yourself,
download and install Google Protocol Buffer
and then run
protoc -I=$SRC_DIR --python_out=$DST_DIR $SRC_DIR/file.proto
for each proto file. The generated files should be stored in the /protocol/impl folder.