4 comments

[ 4.8 ms ] story [ 20.3 ms ] thread
So not technically impressive or anything of the sort, but this was my first foray into SwiftUI. Of course, SwiftUI does not natively/ fully support menu bar widgets like this, and I didn't want to pay for the developer licence just to make this work.

Ended up running AppleScript to query Spotify for the information, and it works for my needs at least.

One weird bug is that it boots up Spotify if isn't already running, so this program has to be quit before Spotify is quit! Should probably fix that...

A piece of feedback: I have no idea how to install this after going to the repo. Seems interesting, but I don't know how to use it.
Yeah makes sense, cheers!

Working on this would require XCode, and it should be importable as one. It might require some odd permission to query Spotify, but the 'codebase' is about 50 lines so shouldn't take too long to verify nothing malicious is happening :)

In the meanwhile, I built the project, and made a release on GitHub. Thanks for pointing that out!

Have you considered shipping this as a packaged application? I'm sure people would download this.