I see there is a property shuffle but it doesn't seem to do anything (it still plays shuffled).

I tried this but it plays shuffled. I'd like it unshuffled. Is this not possible?

            iTunesPlaylist *p;

            for (iTunesSource *source in [iTunes sources]) {
                if ([source kind] == iTunesESrcLibrary) {
                    p = [[source userPlaylists] objectWithName:playlist];
                    break;
                }
            }

            if (p != nil) {
                p.shuffle = NO;
                [p playOnce:NO];
            }
有帮助吗?

解决方案

A bug in iTunes 11 breaks the AppleScript (and hence Scripting Bridge) Shuffle command.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top