0

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];
            }

1 Answers1

0

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

Gabriel Roth
  • 1,030
  • 1
  • 12
  • 31