ebaauw / homebridge-music

Homebridge plugin for iTunes with AirPlay speakers
Apache License 2.0
92 stars 7 forks source link

Preventing iTunes to start #11

Closed Psychopatient closed 5 years ago

Psychopatient commented 5 years ago

I was looking a long time for a possibility to integrate airfoil in HomeKit. I was more than happy to find this plugin, so thank you for your effort and good work. Like i said, i just use this for airfoil, but every time i run it, iTunes starts. Is there was to prevent iTunes from starting?

ebaauw commented 5 years ago

Interesting idea. homebridge-music exposes a player and speakers, I don’t think it will work without a player. The actual interface to the player and speakers is through Applescript, see https://github.com/ebaauw/homebridge-music#applescript. You might be able to copy and modify the Airfoil script not to call iTunes and return dummy values for the player. Or maybe use Airfoil for the player as well.