[GH-ISSUE #23] Question how to set the image #10

Closed
opened 2026-05-22 22:03:35 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @seniorkiller on GitHub (Apr 29, 2022).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/23

so reading through the readme file i cant find anything related to changing the image that shown in the discord other than removing it. so how does it work? is it harcoded to only show it or hide it or you can set it to whatever you want? what i wanted is to use from the music file it self(file thumbnail or something not sure what it called) but not sure how.

it will be nice if theres some other description relate to it in the documentation.

Originally created by @seniorkiller on GitHub (Apr 29, 2022). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/23 so reading through the readme file i cant find anything related to changing the image that shown in the discord other than removing it. so how does it work? is it harcoded to only show it or hide it or you can set it to whatever you want? what i wanted is to use from the music file it self(file thumbnail or something not sure what it called) but not sure how. it will be nice if theres some other description relate to it in the documentation.
Author
Owner

@JakeStanger commented on GitHub (Apr 30, 2022):

Discord doesn't offer a lot of control over images unfortunately, but basically:

  • Named image assets are uploaded in the app registration in at https://discord.com/developers/
  • The code references these assets by name (the default for both the small and large image is notes, which can be changed in the config file)
  • Discord automatically finds the notes image for the app and shows that in the client

By creating your own app registration, uploading your own assets and then updating the config with your own app id and small/large asset names you can set a custom static image. You won't be able to do anything dynamic like setting it to the current album art though as Discord simply doesn't support it I'm afraid.

<!-- gh-comment-id:1114024601 --> @JakeStanger commented on GitHub (Apr 30, 2022): Discord doesn't offer a lot of control over images unfortunately, but basically: - Named image assets are uploaded in the app registration in at <https://discord.com/developers/> - The code references these assets by name (the default for both the small and large image is `notes`, which can be changed in the config file) - Discord automatically finds the `notes` image for the app and shows that in the client By creating your own app registration, uploading your own assets and then updating the config with your own app id and small/large asset names you can set a custom static image. You won't be able to do anything dynamic like setting it to the current album art though as Discord simply doesn't support it I'm afraid.
Author
Owner

@seniorkiller commented on GitHub (May 1, 2022):

Thanks for answering, anyway should i close this issue?
Im done with my question but it might be useful to others

<!-- gh-comment-id:1114262491 --> @seniorkiller commented on GitHub (May 1, 2022): Thanks for answering, anyway should i close this issue? Im done with my question but it might be useful to others
Author
Owner

@JakeStanger commented on GitHub (May 1, 2022):

Yeah I'll close this now, the thread will remain here in case anybody else does have the same question.

<!-- gh-comment-id:1114263098 --> @JakeStanger commented on GitHub (May 1, 2022): Yeah I'll close this now, the thread will remain here in case anybody else does have the same question.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#10
No description provided.