kuba160 / ddb_discord_presence

Discord Rich Presence plugin for DeaDBeeF
37 stars 6 forks source link

[Suggestion/Question] Artwork Support #8

Closed UnduGT closed 2 years ago

UnduGT commented 3 years ago

I don't know if that's possible with Discords Rich Presence, but if yes, wouldn't it be great if instead of the DeaDBeeF logo the artwork of the Mp3 file could be seen? Maybe with a little DeaDBeeF logo in the corner. Of course adjustable whether you want it or not.

kuba160 commented 3 years ago

Unfortunately Discord only supports images as assets, that have to be uploaded on Discord developer page, with maximum of 150 assets. Having artwork would be quite difficult I guess :slightly_smiling_face:

TheLastZombie commented 2 years ago

Old issue, but Discord seems to support image URLs in place of asset IDs now (although this is still undocumented). I played around with this today and created this. I don't know how to C, so it's more of a hack than anything (it uses covers from Last.fm instead of the files and requires a server to proxy requests to the Last.fm API), but it seems to work reasonably well.

image

kuba160 commented 2 years ago

Thank you very much for letting me know! You put much effort into it, I'll add lastfm cover as an option to this plugin soon (actually just did but I will need to clean it up and it is possible that deadbeef plugin builder will require some adjustments as well).

image