Bug 476006 - Thumbnails fail to load with the Piped backend
Summary: Thumbnails fail to load with the Piped backend
Status: RESOLVED DOWNSTREAM
Alias: None
Product: PlasmaTube
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Linus Jahn
URL:
Keywords:
: 478153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-23 14:51 UTC by Bart Ribbers
Modified: 2023-12-06 12:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Ribbers 2023-10-23 14:51:37 UTC
Using my own instance, https://youtube.fam-ribbers.com (API on https://api.youtube.fam-ribbers.com and proxy on https://proxy.youtube.fam-ribbers.com), any video thumbnail fails to load. However putting it's URL in the browser appears to work just fine.

Example of a thumbnail failing to load: https://proxy.youtube.fam-ribbers.com/vi/XFJRcVg2QmE/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAczJ_9TlLHrJBM_rAYjIyihAAAtQ&host=i.ytimg.com
Comment 1 Bart Ribbers 2023-10-23 14:53:32 UTC
Sorry forgot to post the full error message:

qrc:/qt/qml/org/kde/plasmatube/ui/components/VideoGridItem.qml:61:9: QML QQuickImage: Error decoding: https://proxy.youtube.fam-ribbers.com/vi/XFJRcVg2QmE/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAczJ_9TlLHrJBM_rAYjIyihAAAtQ&host=i.ytimg.com: Unsupported image format
Comment 2 Joshua Goins 2023-11-18 17:09:17 UTC
Oh I can't test it since you're 502'ing now, but can you check what image format it's actually reporting? I wonder if you don't have that built-into your qtimageformats
Comment 3 Bug Janitor Service 2023-12-03 03:45:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bart Ribbers 2023-12-06 10:21:48 UTC
*** Bug 478153 has been marked as a duplicate of this bug. ***
Comment 5 Bart Ribbers 2023-12-06 10:23:08 UTC
The problem occurs on other instances too. For example https://pipedproxy.kavin.rocks/vi/NcJF-R1DGQ8/hqdefault.jpg?host=i.ytimg.com&qhash=5af0f5be&rs=AOn4CLCTBgkOkpx5A2Kwz9jSyYhVyIj6vw&sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg%3D%3D: fails to load as well.

How do I check what image format it thinks it is? It isn't printed to stdout.
Comment 6 Bart Ribbers 2023-12-06 12:14:14 UTC
I talked with Joshua over Matrix and we found the problem. The system didn't have Qt6ImageFormats installed (only the Qt5 variant) and that's required for WebP images, which piped uses. After installing it the problem was resolved.