Question

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];
            }
Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top