Jump to content

Discord RPC Music Presence Support


Recommended Posts

Posted

Hello,

In the past, I displayed the Emby server music files that I listened on my Discord Status through the Premid app presence here: https://premid.app/store/presences/Emby

Unfortunately this solution has been broken for at least the last 6 months, so I moved on to the MusicBee player for this purpose. Recently a developer has created the Discord RPC solution "Music Presence", which aims at supporting a variety of Media Players: https://github.com/ungive/discord-music-presence/

When I reported that their solution did not detect the music played through Emby, they suggested to open a ticket here, explaining what could be happening, quoting:

Quote

For your media player to be detected by Music Presence, it needs to report what media it is playing to the operating system. On Windows this would e.g. be done via SMTC (System Media Transport Controls), which is the Windows API that pretty much every media player or application uses to offer playback information and media controls to the user through Windows's native controls: https://imgur.com/a/YDQegwW Implementing this would not only make your media player work with Music Presence, but also offer every user of your player a better user experience and proper integration with the operating system, which ultimately improves the quality of your media player as a whole. Your media player should report at least this information to work flawlessly with Music Presence: Playback status (playing or paused), song title, artist, album name, live playback position, song duration and the album cover image. Official Windows Documentation for SMTC: https://learn.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols On Mac devices the "MediaRemote" framework is used by Music Presence to detect media from applications, on Linux your media player should use MPRIS to report what it is playing. These are standard protocols/APIs which are widely used for the purpose of reporting what media an application is playing.

Would it be possible for Emby to communicate with Music Presence? In the long term I'm hoping this solution can be leveraged to display basic data not only of music files but also of TV shows and movies being streamed on my local servers (title, season/episode number if applicable and cover image).

Cordially.

  • Like 2
Posted

Hi, our Windows app does report playback to the operating system, and in fact, so do our android and iOS apps. But what I mean is the operating system of the device you're playing on, not the server machine.

  • 9 months later...
Posted (edited)

Hello! Don't mean to bump a dead thread, but I too would like to see a Discord rich presence feature, where we can put our Discord client ID (by linking Discord to Emby) in the emby portal and it will show what we are listening to on Discord, similar to how Spotify does it.

The way I would like to see is 

Listening to: Artist
Song Title

for example:

Listening to Beethoven
Moonlight Sinatra

And maybe include cover art / album art, with optional timestamp support..

Attached is an image for further context.

The presence should show what the user is listening to.

image.png

Edited by Fartsy
Clarification

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...