2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 13:47:41 +00:00

Fix album art url canonicalization

This commit is contained in:
Matthijs Tijink
2018-03-03 14:45:26 +01:00
parent 6d84f5dd86
commit 702977a01d

View File

@@ -287,7 +287,7 @@ public class MprisPlugin extends Plugin {
try {
//Turn the url into canonical form (and check its validity)
URL newAlbumArtUrl = new URL(newAlbumArtUrlstring);
playerStatus.albumArtUrl = newAlbumArtUrlstring.toString();
playerStatus.albumArtUrl = newAlbumArtUrl.toString();
} catch (MalformedURLException ignored) {}
for (String key : playerStatusUpdated.keySet()) {
try {