检查iTunes是否是shuffling不工作 [英] Checking if iTunes is shuffling is not working

查看:134
本文介绍了检查iTunes是否是shuffling不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Mac应用程序,我需要检查是否Itunes(11.0)正在洗刷我的音乐,以检查,我使用 iTunes.h 和以下代码:

I'm developing a Mac App and I need to check if Itunes (11.0) is shuffling my music so, to check that, I'm using iTunes.h and the following code:

if([iTunes.currentPlaylist shuffle]){
    NSLog(@"yes");
}else{
    NSLog(@"no");
}

即使我有iTunes shuffling,它总是输出no。

任何想法为什么是这种情况发生或我检查它的方式错误?

Even though I have my iTunes shuffling, it always outputs "no".
Any ideas why is this happening or am I checking it the wrong way?

推荐答案

我一个月前报告了一个错误,像其他开发者一样。

没有听到任何消息,

I reported a bug about a month ago, like tons of other developers.
Didn't hear anything, and probably won't.

像DigiMonk所说,它是iTunes 11的一个变化,但他们不更新他们的API。

Like DigiMonk wrote, it a change in iTunes 11, but they don't update their API.

这篇关于检查iTunes是否是shuffling不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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