Skip to content

Commit

Permalink
Stip whitespace from album art URI
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan committed Dec 23, 2024
1 parent d253e2c commit cfcf93e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ private void updateMetaDataState(UpnpEntry media) {
} else {
State albumArt = null;
try {
albumArt = HttpUtil.downloadImage(media.getAlbumArtUri());
albumArt = HttpUtil.downloadImage(media.getAlbumArtUri().trim());
} catch (IllegalArgumentException e) {
logger.debug("Invalid album art URI: {}", media.getAlbumArtUri(), e);
}
Expand Down

0 comments on commit cfcf93e

Please sign in to comment.