mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 06:05:12 +00:00
Fix album art url canonicalization
This commit is contained in:
@@ -287,7 +287,7 @@ public class MprisPlugin extends Plugin {
|
|||||||
try {
|
try {
|
||||||
//Turn the url into canonical form (and check its validity)
|
//Turn the url into canonical form (and check its validity)
|
||||||
URL newAlbumArtUrl = new URL(newAlbumArtUrlstring);
|
URL newAlbumArtUrl = new URL(newAlbumArtUrlstring);
|
||||||
playerStatus.albumArtUrl = newAlbumArtUrlstring.toString();
|
playerStatus.albumArtUrl = newAlbumArtUrl.toString();
|
||||||
} catch (MalformedURLException ignored) {}
|
} catch (MalformedURLException ignored) {}
|
||||||
for (String key : playerStatusUpdated.keySet()) {
|
for (String key : playerStatusUpdated.keySet()) {
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user