用于从Python控制Spotimote的库
项目描述
使用Spotimote服务器实现的Python Spotify远程控制
此库可以使用Python控制Spotimote服务器(http://www.nodria.com/)。它可以自动检测正在运行的Spotimote服务器,可以像这样调用
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
或者不自动检测主机
python spotimote.py –host 192.168.0.2 –port 5116 volume_down
作为库使用
# 从spotimote导入Spotimote spotimote = Spotimote()
# 播放下一个歌曲 spotimote.next()
# 或者扫描Spotimote服务器 print ‘Hosts:’,list(spotimote.detect())
项目详情
关闭
spotimote-1.0.1.tar.gz的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | 5300a5f34f52985eb7c1d8964b267f646a928951890d9aa4c06564fd0cfff59e |
|
MD5 | 615a080c54701c45aeaf4cc7848d6c7a |
|
BLAKE2b-256 | a57c6e3b088fe1047eb27683961aebf74dd34e3a838bbb3e30005663edb0763e |