Mirrors what you are playing in Apple Music into Discord, laid out the way Discord's own Spotify integration is: the song on the one-line status under your name, full-size album art, a live progress bar, and the song, artist and album each clickable through to Apple Music.
Three ways in, one pipeline. On macOS playback comes from the Music app over Apple Events. On Windows it comes from the System Media Transport Controls session — the record behind the flyout over the volume overlay — except for Apple TV, which publishes nothing at all and is read off its own UI Automation tree. On Linux it comes from the web player, over a companion browser extension or MPRIS on the session bus. Everything past that point is identical, because each source hands back the same shape of snapshot.
The detail that makes it read correctly is a single Discord field. `status_display_type` decides which value lands on the status line; Spotify sets it to the state, which is why its status reads as the artist. This sets it to the details, so the status reads as the song. The expanded card's header is separate and always comes from the application's name, which Discord does not allow to be set at presence time — which is why the first step of setup is naming the application Apple Music.
Artwork is pulled at 1024×1024, the size Discord's own documentation asks for, and where Apple has published motion artwork the full loop is transcoded from their HLS master to animated AVIF. On Windows the read runs through Windows PowerShell 5.1 rather than 7, because the media session is a WinRT API and pwsh cannot project WinRT types without the Windows SDK. It shows nothing while paused, and survives Discord restarts, Music restarts and sleep.