使用 AppleScript 控制 Spotify
本质上我想做的是通过 AppleScript 播放整个专辑。现在,您可以使用他们的特殊 URI 来加载专辑,但不能播放它。您还可以播放特定曲目,但播放完毕后,您的队列将恢复之前播放的内容。
Spotify 的脚本词典有点薄,有人知道是否有计划增加其深度吗?
Essentially what I'd like to do is play an entire album via AppleScript. Right now, you can use their special URIs to load the album, but not play it. You can also play a specific track, but once that finishes playing, your queue resumes what was playing before.
Spotify's scripting dictionary is somewhat thin, does anyone know if there are plans to increase its depth a bit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Spotify 的最新版本已将其添加到词典中。例如:
More recent versions of Spotify have added this to the dictionary. For example:
如果您想播放/暂停最近播放的内容,可以使用以下脚本。如果将它们中的每一个保存为 Automator 应用程序,则可以从 Spotlight 或 Alfred 运行它们。
播放:
暂停:
If you want to play/pause whatever was most recently playing you can use the following scripts. If you save each of them as Automator applications and you can run them from Spotlight or Alfred.
Play:
Pause:
当前的字典还没有办法做到这一点。我们希望在未来扩展它,但我目前不知道有任何具体计划。
There's currently no way to do this with the current dictionary. We'd like to expand it in the future, but I'm not aware of any concrete plans to do so at the moment.