Display your Apple Music listening activity on Discord with album art, progress bar, and Last.fm scrobbling support.
- Discord Rich Presence - Shows "Listening to [Artist]" status in Discord
- Album Artwork - Displays high-quality cover art from Apple Music
- Progress Bar - Real-time track progress with timestamps
- Play on Apple Music - Direct link button to the track on Apple Music
- Last.fm Scrobbling - Smart scrobbling that matches tracks to Last.fm's database
- Mini Mode - Compact always-on-top widget showing current track
- Listening Statistics - Track your listening habits with session stats
- Global Hotkeys - Control the app from anywhere with keyboard shortcuts
- System Tray - Runs quietly in the background
- Windows Startup - Optional auto-start with Windows
- Windows 10/11 (version 1809+)
- Apple Music for Windows (from Microsoft Store)
- Discord desktop app
- Download the latest release
- Extract to any folder
- Run
AppleMusicRpc.exe
That's it! The app comes pre-configured and ready to use.
If you want to build from source:
- Install .NET 8.0 SDK
- Clone this repository
- Copy
WinUI/Services/Secrets.example.cstoWinUI/Services/Secrets.cs - Fill in your own Discord Application ID and Last.fm API key
- Build:
dotnet build WinUI/DiscordRPC.csproj -c Release -p:Platform=x64
- Start the app
- Play music in Apple Music
- Your Discord status will automatically update to "Listening to [Artist]"
| Shortcut | Action |
|---|---|
Ctrl+Alt+M |
Toggle Mini Mode |
Ctrl+Alt+P |
Pause/Resume Rich Presence |
Shortcuts can be customized in the app's Shortcuts settings.
- Open the app and go to Connections in the sidebar
- Enter your Last.fm API credentials:
- Get them from Last.fm API
- Click Connect to Last.fm
- Authorize in your browser when prompted
The app automatically matches tracks to Last.fm's database for accurate scrobbling, even for obscure tracks.
- Right-click the tray icon for quick access
- Close the window to minimize to tray
- Click tray icon to restore
The app uses Windows Media Transport Controls to detect what's playing in Apple Music. When a track is detected:
- Track info is read from the system media session
- Album artwork is uploaded to catbox.moe for Discord display
- Track is matched against iTunes/Last.fm for accurate metadata
- Discord Rich Presence is updated via the official API
- Optional: Track is scrobbled to Last.fm with the correct artist/title
- Make sure Discord is running
- Enable "Display current activity" in Discord Settings > Activity Privacy
- Check that Apple Music is playing (not paused)
The app tries multiple sources:
- Direct upload from Apple Music thumbnail
- iTunes Search API
- Last.fm API fallback
- Make sure Apple Music is from the Microsoft Store
- Music must be actively playing (not paused)
- Try restarting both Apple Music and this app
- Only reads music metadata (title, artist, album, artwork)
- Album artwork uploaded to catbox.moe for Discord display
- Last.fm scrobbling is optional and sends data only to Last.fm
- No analytics or telemetry collected
MIT License - See LICENSE for details.
Created by Impulse
- DiscordRichPresence - Discord RPC library
- Windows App SDK - WinUI 3 framework
- Image hosting: catbox.moe
