ebaauw / homebridge-music

Homebridge plugin for iTunes with AirPlay speakers
Apache License 2.0
93 stars 5 forks source link

i don't get a change track button in homekit #10

Closed sanojjonas closed 5 years ago

sanojjonas commented 5 years ago

i don't get a change track button homekit. it would also be nice if itunes would pause in stead of stop when you turn off/on itunes via homekit.

ebaauw commented 5 years ago

i don't get a change track button homekit.

Apple's Home app doesn't support custom characteristics. You need to use another HomeKit app, see https://github.com/ebaauw/homebridge-music#caveats.

it would also be nice if itunes would pause in stead of stop when you turn off/on itunes via homekit.

You can create your own Applescript file to achieve that. Just copy iTunes.applescript to myScript.applescript and change: https://github.com/ebaauw/homebridge-music/blob/3b52073959ae7b2292433131b0207ec4cc86dfb5/scripts/iTunes.applescript#L27 Run make myScript.scpt or osascript -o myScript.scpt myScript.applescript to compile the script. To use it, add "script": "myScript" to config.json.