ungive / discord-music-presence

The Discord music status that works with any media player
https://musicpresence.app
Other
229 stars 2 forks source link

[Bug] Cover images continuously fail when they are 0 bytes #59

Closed ungive closed 1 month ago

ungive commented 1 month ago

Is there an existing issue for this?

Describe the bug

The logs are sometimes spammed with disconnects and reconnects to the Proxy server and "served request" entries that say that an image with size=0 bytes was served.

Reproduction Steps

Difficult to reproduce, but seems to happen on Mac sometimes (cover images load slowly there for some reason).

Clearing the image data manually in the code reproduces this issue consistently though.

Expected behavior

Music Presence should ignore images with 0 bytes.

Screenshots

No response

Device Info

Additional context

No response

ungive commented 1 month ago

Fixed and will be part of the next release.