hyperamp
hyperamp copied to clipboard
Notifications
When songs change, we should show a notification, preferably with the artwork or the app icon if its available.
should be pretty easy, i've tooled around with the osx notifications api via electron before
Maybe only when the window is closed.
yeah would be nice to be able to toggle it too, getting song notifications when you're using another fullscreen app can be pretty annoying
Some more things to think about for notification behavior https://electron.atom.io/docs/tutorial/notifications/#macos
done:
- [x] notifications
todo:
- [ ] add pref to disable notifications to OS menu
- [ ] add album art to notification
- [ ] only notify if window is hidden or unfocused
Updating the issue on this. I removed it from the a renderer with plans to move it to the main thread https://github.com/mikaelbr/node-notifier because the window process notifications didn't stack and were quite spammy in practice.