TIMOB-12740: Refactor script to use proper AppleScript types and iTunes idioms.
Merge pull request #4630 from matt-langston/timob-12740-3_1_X

TIMOB-12740-3_1_X: Refactor script to use proper AppleScript types and iTunes idioms.