Spotify连接扬声器是否可以通过Spotipy控制?
好的,所以这是一个愚蠢的问题,但我试图自己理解它,而我变得更加困惑。我使用特定设备ID在计算机上使用Spotipy库在计算机上播放音乐(由Raspberry Pi控制)。现在,我想实现同一件事,但能够直接在Raspberry Pi上玩。我找到了一种叫做Raspotify的东西,它使我可以将RPI用作Spotify Connect扬声器。不过,我无法在设备列表中找到它,现在我想知道是否可以控制连接扬声器?
如果没有,还有其他方法可以在我的RPI上使用Spotipy API播放音乐吗?非常感谢帮助,我尝试自己弄清楚,但我感到更加困惑。
Okay, so this is kind of a stupid question but I tried to understand it myself and I just got even more confused. I am using the Spotipy library to play music (controlled by my raspberry pi) on my computer using the specific device id. Now I want to implement the same thing but be able to play directly on my Raspberry Pi. I have found something called Raspotify, which allows me to use my rpi as a spotify connect speaker. I wasn't able to find it in the devices list though, and I'm now wondering if it is even possible to control a connect speaker?
If not, are there any other ways to play music using the spotipy api on my rpi? Help is greatly appreciated, I tried figuring it out by myself but I just got even more confused.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我自己现在找到了答案。您可以使用Spotipy控制Spotify Connect扬声器,但是对我来说,Spotify API在找到该设备方面遇到了一些麻烦。然后,即使我什么都没改变,它才开始工作。因此,对于其他任何想知道的人来说
I now found the answer myself. You can control Spotify Connect speakers using Spotipy, but for me the Spotify API had some trouble finding the device. It then just started working even though I didn't change anything. So for anyone else wondering, a spotify connect speaker acts like a normal device with device id and everything :)