Search code examples
objective-cmacoscocoaitunesshuffle

Checking if iTunes is shuffling is not working


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");
}

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?


Solution

  • Good luck with that.

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

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