是否可以使用javascript获取当前播放的Itunes曲目

发布于 2024-11-13 03:38:52 字数 146 浏览 3 评论 0原文

我想看看是否可以使用 javascript 来获取当前正在播放的 Itunes 歌曲,如果可以,如何实现?

用例如下:

  1. 用户单击链接
  2. ,会弹出一个警报,显示歌曲名称、艺术家和专辑。

谢谢

I am looking to see if it's, first, possible to even use javascript to get the currently playing Itunes song, and if so, how?

A use case along the lines of:

  1. User clicks a link
  2. An alert pops up displaying song name, artist and album.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

何以笙箫默 2024-11-20 03:38:52

直接说,没有。如果 iTunes 中的数据发送到 last.fm 等服务,则可以定期从那里获取数据看看他们在听什么。类似于 https://github.com/niklasvh/jquery.plugin.listening

Directly, no. If the data from iTunes is sent to a service like last.fm, it can be fetched there on a regular interval to see what they are listening to. Something similar to https://github.com/niklasvh/jquery.plugin.listening

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文