Hacker News new | past | comments | ask | show | jobs | submit | more jonathang6k's comments login

Yep! The current release actually still uses AppleScript. The next release will use Scripting Bridge to hook into the app's playback state change events. Much more efficient.


I'm not too familiar with this, but macOS does have a "Now Playing" icon in the top menu bar whenever audio is playing. It works for all audio sources (Chrome, Spotify, etc). However, to my knowledge, Apple doesn't expose this API and the tool itself is not configurable.


Good times :D


Hmm, that's odd. Not sure exactly which approval you are referring to, but here is my experience:

The Spotify Web API actually required no approval, because it does not integrate with the user's account.

The current version of my app uses AppleScript, and was approved by the App Store within 24 hours. The next version will use Scripting Bridge, but I don't anticipate that will be an issue.

In the most technical sense, my app is not really an extension to the Spotify app, it is a standalone app that communicates with the Spotify app using Apple Events.

Hope this helps :-)


Yes, I assumed you did need some integration with the user's account (my case). Thanks for the answer!


That's awesome, I'll be sure to check it out!

I deliberately chose not to use marquee because of CPU usage, but if there's a more efficient way, I can definitely integrate that.


Wild that marquee, which was a browser feature in the late 90s, could cause CPU concerns 25 years later.


In case you'd like to learn more about my development process, I wrote a brief blog post here: https://www.garelick.net/2024/04/22/some-thoughts-on-going-f...

A significant portion of the code was written with Claude Opus. I was very impressed with its abilities.


Location: Seattle, WA

Remote: OK or hybrid/onsite in Seattle

Willing to relocate: No

Technologies: JavaScript, Python, Django, React, scikit-learn

Résumé/CV: https://garelick.net/resume

Email: jonathan (at) garelick (dot) net

Senior full stack engineer with startup experience. Comfortable working in dynamic, fast-paced environments. Most recently I worked for Neeva, a search engine startup that was acquired by Snowflake.

Learn more about me from my blog: https://garelick.net


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: