diff --git a/libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java b/libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java index 8c28eeab..b525d1b7 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java +++ b/libresonic-main/src/main/java/org/libresonic/player/service/UPnPService.java @@ -117,7 +117,7 @@ public class UPnPService { new ModelDetails(serverName), new DLNADoc[]{new DLNADoc("DMS", DLNADoc.Version.V1_5)}, null); - Icon icon = new Icon("image/png", 512, 512, 32, getClass().getResource("logo-512.png")); + Icon icon = new Icon("image/png", 512, 512, 32, "logo-512", getClass().getResourceAsStream("logo-512.png")); LocalService contentDirectoryservice = new AnnotationLocalServiceBinder().read(FolderBasedContentDirectory.class); contentDirectoryservice.setManager(new DefaultServiceManager(contentDirectoryservice) {