Bug 465630 - Requests for album art images in the media controller time out.
Summary: Requests for album art images in the media controller time out.
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (other bugs)
Version First Reported In: 5.26.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-12 18:14 UTC by blue
Modified: 2023-02-13 20:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Full output of plasmawindowed. (1.37 KB, text/plain)
2023-02-12 18:14 UTC, blue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blue 2023-02-12 18:14:51 UTC
Created attachment 156174 [details]
Full output of plasmawindowed.

SUMMARY
Spotify provides album art to MPRIS via a web address. The media controller applet won't load this art, despite the URL being correct, which I've verified via qdbus. I downloaded the image with curl, which was successful, so I'm not sure what could be causing the timeout.

I ran plasmawindowed to record the error messages, and have the full output attached, but here's the seemingly offending error message:
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/AlbumArtStackView.qml:120:13: QML Image: i.scdn.co: Socket operation timed out

STEPS TO REPRODUCE
1. Open Spotify and play any track.
2. Open media player widget.

OBSERVED RESULT
Album art area is blank initially, but turns to the fallback Spotify logo shortly after due to the timeout.

EXPECTED RESULT
The request should return the image, 

SOFTWARE/OS VERSIONS
Linux: Fedora 37
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
KDE Plasma Desktop - Media Player: 5.26.5-1.fc37

ADDITIONAL INFORMATION
I've seen some similar issues related to this, but I haven't been able to find any other reports for this on KDE or QT's bug trackers. I'll likely be submitting a report there, because this looks like it could be a QT issue.
Comment 1 Fushan Wen 2023-02-13 17:01:54 UTC
Yes, please report to upstream Qt. Qt doesn't provide a way to control the timeout.
Comment 2 blue 2023-02-13 20:41:05 UTC
An update, this issue seems to have resolved itself. I have no idea why. I ran an open-source custom Spotify MPRIS daemon, and then discovered that the album image appears now even though I have removed it and deleted the Spotify app I created in the developer interface.
I can only assume this was some weird issue with my cache, which despite reinstalling Spotify from multiple sources, I did not think to wipe. The only oddity now is that on restarts of the app, the current Spotify track's title is replaced with its internal ID until another track is loaded, but I have no idea if this is already a known bug or not.