A widget to display the currently playing song in macOS. Uses private APIs to obtain the track information and to subscribe to notifications. The widget should (hopefulyl) update when you play/pause or when changing tracks. Otherwise it refreshes every 5 minutes.
- Allow the app to be a menu bar and hide itself
- The idea being to configure it to launch when logging in, hidden, so it listen to music notifications and reloads the widget properly.
- Only pay attention to information from the system music player? (What about custom players? Maybe there is a way to filter out media from the browsers?)
- Configurations
- Display album artwork/Artist/Album name
- Large size
- Display information about the queue (next song, etc)
- Display if currently is in repeating/suffle modes
- Small size
- Adapt current layout
- Publish to GitHub
- Create an icon and build an app
- Notarize it? and create a release in GitHub
- Change widget color based on tint color if available (kMRNowPlayingClientUserInfoKey). See
AnyHashable("kMRNowPlayingClientUserInfoKey"): { bundleIdentifier = "com.apple.Music"; displayName = Music; processIdentifier = 9830; processUserIdentifier = 501; tintColor = { alpha = 1; blue = "0.9843137"; green = "0.5294118"; red = "0.1490196"; }; }