https://bugs.kde.org/show_bug.cgi?id=410715

            Bug ID: 410715
           Summary: Low resolution art url in plasma-browser-integration
                    and kde-connect
           Product: plasma-browser-integration
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@privat.broulik.de
          Reporter: raitarohik...@protonmail.com
  Target Milestone: ---

SUMMARY

I think it is pretty amazing that kde connect (1.12.93 android) can display
cover art in notifications, and also on the lock screen as cover art. The
problem is that the cover art is ok for a notification (and even there I say is
a bit too low res), but horrible for a lock screen.

I dug a bit in `/data/data/org.kde.kdeconnect_tp/cache/album_art` directory to
see if this is an android issue or not. The image there is exactly the same as
the image given by plasma-browser integration. If I look at the metadata 
`qdbus org.mpris.MediaPlayer2.plasma-browser-integration
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata` 
I get `mpris:artUrl:
https://i.ytimg.com/vi/-viYoD2cqq8/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDv0KjDxszVqpt_obmwbrpELdWLIw`.
This url gives an image that is 334x187. 
I then went on the link and used youtube-dl to get a better thumbnail
`youtube-dl -j --flat-playlist $1 | jq -r '.thumbnails' | grep -Eo
"(http|https)://[a-zA-Z0-9./?=_-]*` and I got
`https://i.ytimg.com/vi/UniMooWDPI0/maxresdefault.jpg` which is 1280x720. The
improvement is obvious.

I understand that p-b-i uses that cover-art just in the widget for media, but
even there the image is just so lowres if you have even a 1080p screen, let
alone to be used as cover art by kde connect in the `multimedia control`, or in
the android notifications... let alone as cover art for the lockscreen. 
Perhaps is either browser-integration at fault here for not sending a higher
res to kconn, or perhaps is kcon's fault. I am not so sure.

STEPS TO REPRODUCE
1. Have plasma-browser-integration enabled in browser. waterfox alpha and brave
have the same issue.
2. Have an youtube video playing.
3. Check to see the resolution of the cover art url on desktop/android.
4. Have cover art set for lockscreen if you desire. There it is just horrible.

OBSERVED RESULT
The cover-art used by plasma-browser-integration and kdeconnect are too low
resolution.

EXPECTED RESULT
Use the full thumbnail image.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.3
Kernel Version: 4.15.0-55-generic
OS Type: 64-bit

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to