Library to control Spotimote from Python
Project description
Python Spotify remote control using the Spotimote server
This library can control the Spotimote (http://www.nodria.com/) server using Python. It can automatically detect the running Spotimote server and can be called like this:
python spotimote.py play_pause python spotimote.py next python spotimote.py prev python spotimote.py shuffle python spotimote.py repeat python spotimote.py volume_up python spotimote.py volume_down
Or without autodetection of the host:
python spotimote.py –host 192.168.0.2 –port 5116 volume_down
To use it as a library:
# Setup the spotimote library from spotimote import Spotimote spotimote = Spotimote()
# Play the next song spotimote.next()
# Or scan for spotimote servers print ‘Hosts:’, list(spotimote.detect())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file spotimote-1.0.1.tar.gz
.
File metadata
- Download URL: spotimote-1.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5300a5f34f52985eb7c1d8964b267f646a928951890d9aa4c06564fd0cfff59e |
|
MD5 | 615a080c54701c45aeaf4cc7848d6c7a |
|
BLAKE2b-256 | a57c6e3b088fe1047eb27683961aebf74dd34e3a838bbb3e30005663edb0763e |