Page 2 of 2

Re: Indigo iTunes Plugin & Music

PostPosted: Fri Dec 20, 2019 3:17 pm
by Korey
dfiedler wrote:
One more thing and I will be the most happy camper.

SET A NEW PLAY LIST



What do you mean SET? as in Play a playlist?

If so then create an action group that runs an external AppleScript:

open script editor and create a script:

This is for iTunes:

Code: Select all
activate application "iTunes"
tell application "iTunes"
   stop
   set snd to sound volume
   set sound volume to 100
   set the_playlist to user playlist "Opiated"
   set myPlaylist to current playlist
   set view of front window to myPlaylist
   set this_track to some track
   play this_track
end tell


This might work for Apple Music, I don't have it installed so no way to test:


Code: Select all
tell application id "com.apple.Music"
activate application application id "com.apple.Music"
tell application id "com.apple.Music"
   stop
   set snd to sound volume
   set sound volume to 100
   set the_playlist to user playlist "Opiated"
   set myPlaylist to current playlist
   set view of front window to myPlaylist
   set this_track to some track
   play this_track

Re: Indigo iTunes Plugin & Music

PostPosted: Fri Dec 20, 2019 3:26 pm
by jay (support)
dfiedler wrote:
One more thing and I will be the most happy camper.

SET A NEW PLAY LIST


Not possible using the reverse-engineered API we're using in the plugin. You'll have to use an AppleScript for that.