Apple Music Presence: Technical Discussion
The Idea
I was about sick of my friends who use Spotify having the song, artist, and album cover of the song they are listening to displayed on Discord and us Apple Music fans not having the same feature. After a little research, I discovered AppleScript, a seemingly forgotten-about language used on MacOS to interact with apps, and it allowed me to pull information on the current track from Apple Music. It then uploads the cover art to a S3 bucket (because you can only submit URLs to Discord) and finally sends everything to Discord.
The tech stack
- Node.js
- DigitalOcean S3 bucket for storing photos
- AppleScript
Community Involvement
I have no idea how many people use this app, but what I can say is that the GitHub repo has 26 stars at the moment, I have recieved $40 in donations, and the s3 bucket saw 7,000 new album cover images last month.