If the android code sees a file url, and album art is needed, it will start a request to transfer the album art. This code does some sanity checks to prevent abuse and then transfers the album art.
- Group Reviewers
- R224:33c2a100b1cc: Support file url album art - Desktop
Art is transferred succesfully.
The payloads API seems to be broken and is causing problems in the notifications plugin because we send the notification icons with it (see my email in the kdeconnect mailing list). I think we should make sure it works well before making more plugins use it.
Out of scope for this patch, but would it make sense to add KIO support for this? Media files could be on e.g. a samba share, but even then the thumbnails could be elsewhere (like /tmp)
I'm not sure what you mean. It doesn't really matter where the music files are stored, as long as the player puts the thumbnails in a file:// url. Vlc for example puts the thumbnails in the ~/.cache folder. I don't think players should (or do) actually publish smb:// album art urls, since these urls aren't supported everywhere.