FichteFoll / discordrp-mpris

Discord Rich Presence through media players providing the mpris2 dbus interface
MIT License
86 stars 19 forks source link

How to Change the Status Text #8

Closed sirplatypos closed 5 years ago

sirplatypos commented 5 years ago

I have been picking through the source code, and have located the definitions for everything but the status title itself ("Media (mpris2)"). I was wondering where/how to change this, specifically to say the player name instead.

BobbyWibowo commented 5 years ago

AFAIK you can't change that status message from Discord's RP SDK. It will always use the app name, which is set in your "application". In this case, since we're using Fichte's Client ID, the status name will be "Media (mpris2)", since that's the app name he defined. If you want to change that, the best option is to make your own "application" (https://discordapp.com/developers/applications/), then use its Client ID. However you will then have to re-upload all the assets (player and status icons).

sirplatypos commented 5 years ago

Thank you so much, I was going nuts trying to figure out where the pictures and such were. I may just make my own, since I only use cmus anyway. How did he add multiple pictures, or is it just that one?

FichteFoll commented 5 years ago

You can add multiple icons to an application. They are then selected with a string identifier.

See also #3 (duplicate).

FichteFoll commented 5 years ago

FWIW, I intend to make the client ID a configuration option and have player-specific overrides for #3, so you will be able to change the app more easily.

Closing as a duplicate.