Bug 422136 - Album art gets sent from the computer to the phone, but not the other way round
Summary: Album art gets sent from the computer to the phone, but not the other way round
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krut Patel
URL:
Keywords:
: 491609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-27 12:14 UTC by hacker1024
Modified: 2024-08-15 12:39 UTC (History)
8 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 hacker1024 2020-05-27 12:14:43 UTC
SUMMARY

When using a music player (that supports MPRIS) on KDE, everything gets sent to the phone in the form of a MediaSession and notification - including media controls, track, artist, and album names, and the playing song's album art.

When using a music player on the phone, however, all of the above gets send to the computer and exposed over MPRIS - except the album art. None is supplied.

STEPS TO REPRODUCE

1. Play media with album art on the phone (with a player that starts a MediaSession (in other words, uses Android's media integration APIs)
2. Notice that the album art does not appear in the Media Player plasmoid

OBSERVED RESULT

The album art is not sent over through KDE Connect and exposed via MPRIS.

EXPECTED RESULT

The album art should be sent over through KDE Connect and exposed via MPRIS.


SOFTWARE/OS VERSIONS
Windows: Not tested
macOS: Not tested
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Disto: Arch Linux (btw)

ADDITIONAL INFORMATION
Support for the working direction (KDE to phone) was added here: https://phabricator.kde.org/D10798
Comment 1 darkN00B 2023-03-24 18:45:07 UTC
Any updates on this issue? Seems like that this bug is getting unnoticed by the devs out there.
Comment 2 cwo 2024-08-03 16:21:42 UTC
A merge request implementing this was accepted two days ago: https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/541

It should be available in a future release of KDE connect (albeit presumably not the next one, as the feature freeze for that release is already in effect).
Comment 3 cwo 2024-08-12 12:10:29 UTC
*** Bug 491609 has been marked as a duplicate of this bug. ***
Comment 4 jonathansimon 2024-08-14 20:47:23 UTC
At least in my experience, the changes for this do not work properly. I've tried playing content on Spotify and Poweramp on my phone and, while the metadata and transport controls make it to all my configured computers, the art does not ever make it to my computers from my phone. I'm not sure what logs are the ones needed. Are there additional firewall holes that are needed beyond the carve out for the base kdeconnect service?

Operating System: EndeavourOS 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.4-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 13th Gen Intel® Core™ i7-13700
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E01
System Version: 4.0

Android Details:
Pixel 6 Pro, Android 14 latest release
KDE Connect app, 1.32.0
Comment 5 Krut Patel 2024-08-14 20:56:34 UTC
(In reply to jonathansimon from comment #4)
> At least in my experience, the changes for this do not work properly. I've
> tried playing content on Spotify and Poweramp on my phone and, while the
> metadata and transport controls make it to all my configured computers, the
> art does not ever make it to my computers from my phone. I'm not sure what
> logs are the ones needed. Are there additional firewall holes that are
> needed beyond the carve out for the base kdeconnect service?
> 
> Operating System: EndeavourOS 
> KDE Plasma Version: 6.1.4
> KDE Frameworks Version: 6.4.0
> Qt Version: 6.7.2
> Kernel Version: 6.10.4-arch2-1 (64-bit)
> Graphics Platform: Wayland
> Processors: 24 × 13th Gen Intel® Core™ i7-13700
> Memory: 31.0 GiB of RAM
> Graphics Processor: Mesa Intel® Graphics
> Manufacturer: Micro-Star International Co., Ltd.
> Product Name: MS-7E01
> System Version: 4.0
> 
> Android Details:
> Pixel 6 Pro, Android 14 latest release
> KDE Connect app,  also require (In reply to jonathansimon from comment #4)
> At least in my experience, the changes for this do not work properly. I've
> tried playing content on Spotify and Poweramp on my phone and, while the
> metadata and transport controls make it to all my configured computers, the
> art does not ever make it to my computers from my phone. I'm not sure what
> logs are the ones needed. Are there additional firewall holes that are
> needed beyond the carve out for the base kdeconnect service?
> 
> Operating System: EndeavourOS 
> KDE Plasma Version: 6.1.4
> KDE Frameworks Version: 6.4.0
> Qt Version: 6.7.2
> Kernel Version: 6.10.4-arch2-1 (64-bit)
> Graphics Platform: Wayland
> Processors: 24 × 13th Gen Intel® Core™ i7-13700
> Memory: 31.0 GiB of RAM
> Graphics Processor: Mesa Intel® Graphics
> Manufacturer: Micro-Star International Co., Ltd.
> Product Name: MS-7E01
> System Version: 4.0
> 
> Android Details:
> Pixel 6 Pro, Android 14 latest release
> KDE Connect app, 1.32.0

What version of the kdeconnect app are you running on your computer? The PC side changes are also needed for the art to be fetched from your phone. I believe there hasn't been a point release yet with the changes. You'd need to install it from source. (Please correct me if I'm wrong)
Comment 6 jonathansimon 2024-08-15 12:39:19 UTC
(In reply to Krut Patel from comment #5)
> (In reply to jonathansimon from comment #4)
> > At least in my experience, the changes for this do not work properly. I've
> > tried playing content on Spotify and Poweramp on my phone and, while the
> > metadata and transport controls make it to all my configured computers, the
> > art does not ever make it to my computers from my phone. I'm not sure what
> > logs are the ones needed. Are there additional firewall holes that are
> > needed beyond the carve out for the base kdeconnect service?
> > 
> > Operating System: EndeavourOS 
> > KDE Plasma Version: 6.1.4
> > KDE Frameworks Version: 6.4.0
> > Qt Version: 6.7.2
> > Kernel Version: 6.10.4-arch2-1 (64-bit)
> > Graphics Platform: Wayland
> > Processors: 24 × 13th Gen Intel® Core™ i7-13700
> > Memory: 31.0 GiB of RAM
> > Graphics Processor: Mesa Intel® Graphics
> > Manufacturer: Micro-Star International Co., Ltd.
> > Product Name: MS-7E01
> > System Version: 4.0
> > 
> > Android Details:
> > Pixel 6 Pro, Android 14 latest release
> > KDE Connect app,  also require (In reply to jonathansimon from comment #4)
> > At least in my experience, the changes for this do not work properly. I've
> > tried playing content on Spotify and Poweramp on my phone and, while the
> > metadata and transport controls make it to all my configured computers, the
> > art does not ever make it to my computers from my phone. I'm not sure what
> > logs are the ones needed. Are there additional firewall holes that are
> > needed beyond the carve out for the base kdeconnect service?
> > 
> > Operating System: EndeavourOS 
> > KDE Plasma Version: 6.1.4
> > KDE Frameworks Version: 6.4.0
> > Qt Version: 6.7.2
> > Kernel Version: 6.10.4-arch2-1 (64-bit)
> > Graphics Platform: Wayland
> > Processors: 24 × 13th Gen Intel® Core™ i7-13700
> > Memory: 31.0 GiB of RAM
> > Graphics Processor: Mesa Intel® Graphics
> > Manufacturer: Micro-Star International Co., Ltd.
> > Product Name: MS-7E01
> > System Version: 4.0
> > 
> > Android Details:
> > Pixel 6 Pro, Android 14 latest release
> > KDE Connect app, 1.32.0
> 
> What version of the kdeconnect app are you running on your computer? The PC
> side changes are also needed for the art to be fetched from your phone. I
> believe there hasn't been a point release yet with the changes. You'd need
> to install it from source. (Please correct me if I'm wrong)

Yup, sorry, this is my bad. Might I suggest including a version dependency in the changelog of the Android app so it's clear that it depends on a specific version of the PC side software?