Skip to content

0xWDG/Apple-Music-to-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Music to Discord (M2D)

image

Display your Apple Music play status to Discord.

Download

Functions finished

  • 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

How to use

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.

Debugging

To see more information about what is happening,

  • You can hold Option and click on the M2D icon in the menu bar.
  • you can open the Console app and search for nl.wesleydegroot.am2d.

Screenshots

AM2D Discord
image image
image

FAQ

Will this app come to the App Store?Probably not since it does not work with the sandbox being enabled.

Support / Bug reporting.

Please create an issue.

Contact

We can get in touch via Mastodon, Twitter/X, Discord, Threads, Bluesky.

Alternatively you can visit my Website

Changes

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.
05-DEC-2023• Initial version.