jeffvli / sonixd

A full-featured Subsonic/Jellyfin compatible desktop music player
GNU General Public License v3.0
1.87k stars 73 forks source link

Show album covers in the Discord RPC (subsonic) #406

Open JaxzKyd opened 1 year ago

JaxzKyd commented 1 year ago

Is your feature request related to a problem? Please describe. When streaming from a Jellyfin server the Discord rich presence has the album cover image But when streaming from a Subsonic server (Navidrome in my case) It only has the default Sonixd icon image

Describe the solution you'd like I would like for the rich presence to also show album covers when streaming from Subsonic servers

jeffvli commented 1 year ago

Unfortunately this is intentional due to security.

Viewing images from a Subsonic-API server requires authentication parameters in the url which can easily be decoded back to your plain text username/password. It is enabled for Jellyfin because Jellyfin doesn't require auth to view its images.

JaxzKyd commented 1 year ago

Damn, is there some alternative? Like a way for an image to be grabbed from last.fm based on the album name given by subsonic?

jeffvli commented 1 year ago

I'll look last.fm (as well as any alternatives), no ETA on implementation though. If added, it'll likely be in the rewrite as opposed to the current version.