Bug 478775 - album art from URI data:image/jpeg;base64 is not displayed on android
Summary: album art from URI data:image/jpeg;base64 is not displayed on android
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 23.08.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-20 17:15 UTC by kdebugtracker
Modified: 2024-04-29 03:57 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 kdebugtracker 2023-12-20 17:15:41 UTC
SUMMARY
Album art stored as base64 string in mpris:artUrl is not displayed on KDE Connect Android notifications. It looks like "mpris:artUrl" = [Variant(QString): "data:image/jpeg;base64,/9j/4AAQSk... in /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata for SongRec (via flatpak) on org.mpris.MediaPlayer2.SongRec

Meanwhile, album art stored as file:// is properly displayed on Android notifications. It looks like "mpris:artUrl" = [Variant(QString): "file:///home/aziz/.mozilla/firefox/firefox-mpris/4502_40.png"] in /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata for Firefox (via rpm) on org.mpris.MediaPlayer2.firefox.instance4502

So, on android I can see album art from Firefox, but not from SongRec, even though there is album art for both programs in KDE desktop plasmoids in KDE on Fedora. Maybe it is the data: URI type not implemented

STEPS TO REPRODUCE
1. Enable plugin Multimedia controls receiver for the Android device on the KDE desktop
2. Enable plugin Multimedia controls in the android app
3. Open SongRec and enable mpris setting and select appropriate audio source to listen to
4. Play music from any media player
5. Songrec will recognize the playing song's metadata and display correct album art on KDE desktop for songrec "player" in KDE plasmoid
6. KDE Connect app on Android does not show the album art and has an orange colored notification instead for the songrec "player"

OBSERVED RESULT
KDE Connect app on Android did not show the same album art as on the KDE plasmoid on KDE desktop. The notification is colored orange. The album art is a generic picture for the songrec "player" inside KDE Connect app

EXPECTED RESULT
KDE Connect android app should show the same album art as on KDE desktop

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.6-200.fc39.x86_64 (64-bit)


ADDITIONAL INFORMATION
KDE Connect version 1.29.0
Android 10
Pixel 3a XL