ebaauw released this 4 hours ago · 2 commits to master since this release
Enhancements:
- Don't automatically restart the music application (Music, iTunes, or EyeTV) when closed. It's only started on homebridge startup, and restarted when setting the Music accessory on from HomeKit. See #15;
- Add
initialparameter togetState()applescript function - only start the application wheninitialis true; - Add
resetTrackconfig.json setting to reset the current track to the defaulttrackfrom config.json on stop. See #15; - Delay homebridge startup by
timeoutseconds, to give the music application ample time to start and discover all AirPlay speakers.
Bug fixes:
- Improvements to
MusicandMusic-Airfoilscripts to handle differences in behaviour between Music and iTunes. - Set Airfoil source when music application is already playing on homebridge-music startup.
Code refactor:
- Use
async/await(and promises) instead ofcallbackfunctions; - Use string substitution instead of
util.format(); - Sanitise log messages.
Bump dependencies:
- NodeJS v12.16.1 LTS;
- homebridge-lib v4.5.2 (added);
- semver v7.1.3.