문제

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