我如何通过Java在iTunes中播放特定歌曲? [英] How would i play a specific song in iTunes through java?

查看:94
本文介绍了我如何通过Java在iTunes中播放特定歌曲?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何通过Java在iTunes中播放特定歌曲?

How would i play a specific song in iTunes through java?

我认为我需要以某种方式连接到iTunes并使用播放功能....有人可以指出正确的方向来学习如何执行此操作吗?

I assume I need to somehow connect to iTunes and use the play function with a certain parameter....Can anyone point me in the right direction to learning how to do this?

推荐答案

根据示例)控制的.

According to that answer, there is no API. There is only an SDK (via COM) for Windows. In Mac OS, iTunes is controlled via AppleScript(example).

这篇关于我如何通过Java在iTunes中播放特定歌曲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆