跳转到主要内容

用于从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 (4.6 kB 查看散列值)

上传时间:

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面