
Display your Apple Music play status to Discord.
- Read current song info from Apple Music
- Update Discord presence to show information
- Fetch album art
- Support Indicator for Stopped/Playing/Pause status
- Remove requirement to start Discord first (retry connecting when failed)
- Check if Apple Music has started, for initial song info (now the song info will be fetched when connected to Discord)
- Make
<
(back),=
(pause),>
(next) buttons work. -
Remove spinner if loading of artwork fails.Spinner now have the same size as the artwork, and will hide if failed. - Support auto start at login
- Better error handling
Open AM2D.xcodeproj
and change DISCORD_API_KEY.swift
to include your own Discord API key.
You can create one (for free) at https://discord.com/developers/applications
Be sure to go to YOUR_APP_NAME
-> Settings
-> Rich Presence
-> Art Assets
and upload the Apple Music logo there (called am
) or use the logo of your own app.
To see more information about what is happening,
- You can hold
Option
and click on theM2D
icon in the menu bar. - you can open the Console app and search for
nl.wesleydegroot.am2d
.
AM2D | Discord |
---|---|
![]() |
![]() ![]() |
Will this app come to the App Store?
Probably not since it does not work with the sandbox being enabled.Please create an issue.
🦋 @0xWDG 🐘 mastodon.social/@0xWDG 🐦 @0xWDG 🧵 @0xWDG 🌐 wesleydegroot.nl 🤖 Discord
Interested learning more about Swift? Check out my blog.
17-NOV-2024:
- Small Improvements.
- Code cleanup.
- Open sourced the project.
- Changed this readme to be more informative.
- Updated screenshots.
15-DEC-2023
• Play/Pause, Previous and Next buttons are working• Fixes remaining time being incorrectly after switching to a new song
• Updated GUI a little bit.
Revision 1
• Retry if Discord is not found.
• Check if Apple Music is running.
• Remove requirement to start everything in a particulair order.