janbar / noson-app

The essential to control music from your SONOS devices on Linux platforms
GNU General Public License v3.0
335 stars 28 forks source link

Crash with no obvious error message, possibly caused by Spotify serving lores cover art now #195

Closed hzulla closed 1 year ago

hzulla commented 1 year ago

Noson 5.3.2 here.

Spotify playback used to work fine and thanks to the discussion of #194, I was able to have a big cover art display, too.

However, since today, cover art is pixelated (incomplete JPEG download?)...

Bildschirmfoto vom 2022-10-14 12-00-28

...and when I change Noson's window size, the application will crash without an error message.

I tried looking into the debug log, but found no obvious error message.

hzulla commented 1 year ago

Very weird. Also seeing blurry cover art in the Android Sonos App when playing Spotify music. So this isn't specific to Noson.

Screenshot_20221022-125850~2

hzulla commented 1 year ago

Okay, so it's a known problem on Spotify's end and they are working on it.

https://en.community.sonos.com/music-services-and-sources-228994/spotify-album-artwork-is-distorted-6876690

So the pixelated cover art isn't Noson's fault.

This still leaves the question why Noson keeps crashing here on my system and how to give a more helpful debug log about that to you.

hzulla commented 1 year ago

@janbar The cover art is back to normal and Sonos confirmed in the thread linked above that Spotify resolved the issue on their side.

I'm also not seeing Noson crashing anymore, too.

Closing this now, but still the question remains why the pixelated images apparently caused Noson to crash. I would have expected Noson to just display blurred art without crashing over them.

hzulla commented 1 year ago

Once again, thanks for the application!

janbar commented 1 year ago

The root cause of the crash could be an invalid image format. Noson doesn't handle directly the images. The app uses the Qt5 framework to handle these things. The version/patch of the Qt5 framework depends of your OS.