Release 1.1.0 (9/2/23)
- An all-new feature,
auto
mode is added to determine the mode for each song smartly using danceability, energy, and tempo of the song specified in Spotify's audio-track-features API. - Made the auto mode the default mode to run the app.
- Added
calm
mode to allow users to force run the app in the previous default mode (changes lights 2x slower than the song's tempo, and alternates the brightness to only 50% of the loudness). - The party mode continues to function the same way as before.
- Fixed a bug where while playing certain songs, the app encountered
(node:9435) TimeoutOverflowWarning: Infinity does not fit into a 32-bit signed integer. The timeout duration was set to 1
error. - Moved the dance input calculations to a separate class i.e., DanceEngine.
- Reduced the max delay between Spotify Playback checks to 3 seconds as default (also, this is now configurable from the .env file).
- Other minor bugs.
What's Changed
- feat(v1.0): non-prototype version ready by @sandarshsridhar in #1
- fix: unexpected not defined errors when song changed by @sandarshsridhar in #2
- fix: minor bugs and refactors by @sandarshsridhar in #3
- fix: minor bugs by @sandarshsridhar in #4
- doc: readme updated with usage instructions by @sandarshsridhar in #5
- doc: readme updated by @sandarshsridhar in #6
- fix: unnecessary polling delay reset, use green more by @sandarshsridhar in #7
- Fix/polling delay reset by @sandarshsridhar in #8
- perf: wait separately for separate async events by @sandarshsridhar in #9
- perf: set 1 day of max cache retention by @sandarshsridhar in #10
- fix: timeoutoverflowwarning from setimmediate by @sandarshsridhar in #11
- feat: add routers to handle requests by @sandarshsridhar in #12
- feat: smart logger, currentlyplaying call improvements by @sandarshsridhar in #13
- perf: remove unnecessary await by @sandarshsridhar in #14
- fix: relative loudness calculation by @sandarshsridhar in #15
- refactor: separation of concerns by @sandarshsridhar in #16
- feat: use all quad broadcast address if not provided by @sandarshsridhar in #17
- feat: register before building room, extra logging by @sandarshsridhar in #18
- feat: log to file, increased discovery period by @sandarshsridhar in #19
- feat: option to abort the api but keep the app running by @sandarshsridhar in #20
- feat: casual and party mode by @sandarshsridhar in #21
- doc: update readme with file-permissions issue by @sandarshsridhar in #22
- feat: print rooms response in a formatted way by @sandarshsridhar in #23
- fix: add 4 spaces instead of just 1 during stringify by @sandarshsridhar in #24
- feat(auto-mode): add auto mode to automatically switch mode for every song by @sandarshsridhar in #30
New Contributors
- @sandarshsridhar made their first contribution in #1
Full Changelog: https://github.com/sandarshsridhar/wiz-spotify-connected/commits/1.1.0