rgspb wrote:I’m wondering why you shut down the Music app every time? I just leave it running in the background.
That's a fair question. One answer is just memory management. I have plenty of RAM but it does get taxed, my kernal daemon goes into overdrive, and my fan comes on. I have a habit of shutting off applications I don't need right now because I don't want them just idle in the background in the event I'm in the mood to use them. Which, in the case of the Music app, isn't every day.
But that is not a complete answer. I *could* leave it open. I often leave my email open all the time, because I use it constantly. And I only restart the computer when there are updates, which is not even once a week.
Here is the greater context: I wasn't intending to tie my Music app to Insteon so that I could listen to music by pushing a button on a light switch. Generally if I want to listen to music, I'm either already in front of my computer and can just start Music (and choose my own song) anyway, and if I'm not, I have my iPhone to do it.
What I was intending to do was having fun with having certain sounds play when I turn the lights on or off in my room.
I have a fairly large home office with a lot of collections in it (it doubles as a geeky man cave), and when I turn the light on (or off) I have Indigo speak some text. It's not a useful goal, it's just entertainment. So then when I realized that the same action could also (or alternatively) play a tune, I wondered if that tune could be a sound effect? (Hence the reason I was trying to figure out how to play a *particular* track, rather than just any track. I haven't figured out if the plugin can even do that yet natively yet.) Since I don't listen to music that much I keep the Music application shut down until I need it. But I wanted to see if Indigo could play the sound effect when I turned my lights on or off.
In hindsight, if I was able to make that work, it might have meant that Indigo would then have to launch the Music application in order to play that tune. And then I'm back to my memory management obsession again. All for the sake of amusing me when I turn on or off the lights.
So to be honest I hadn't really thought it through. I ran into this obstacle very early in my creative explorations and it shut down my interest in pursuing the idea for now. It's just a bug, and I'm sure the bug will be fixed. In the meantime I've been trying to wrestle with more practical Insteon automation, such as how to turn off an Insteon Keypadlinc button LED in another room only if a whole group of lights are off. (Not for discussion in this thread of course.)