Indigo iTunes Plugin & Music

Posted on
Fri Dec 20, 2019 3:17 pm
Korey offline
User avatar
Posts: 811
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Indigo iTunes Plugin & Music

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
Attachments
Screen Shot 2019-12-20 at 1.27.22 PM.png
Screen Shot 2019-12-20 at 1.27.22 PM.png (424.37 KiB) Viewed 1778 times
Last edited by Korey on Fri Dec 20, 2019 3:35 pm, edited 1 time in total.

--
Korey

Posted on
Fri Dec 20, 2019 3:26 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo iTunes Plugin & Music

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 1 guest

cron