|
|
@ -117,7 +117,7 @@ public class UPnPService { |
|
|
|
new ModelDetails(serverName), |
|
|
|
new ModelDetails(serverName), |
|
|
|
new DLNADoc[]{new DLNADoc("DMS", DLNADoc.Version.V1_5)}, null); |
|
|
|
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<FolderBasedContentDirectory> contentDirectoryservice = new AnnotationLocalServiceBinder().read(FolderBasedContentDirectory.class); |
|
|
|
LocalService<FolderBasedContentDirectory> contentDirectoryservice = new AnnotationLocalServiceBinder().read(FolderBasedContentDirectory.class); |
|
|
|
contentDirectoryservice.setManager(new DefaultServiceManager<FolderBasedContentDirectory>(contentDirectoryservice) { |
|
|
|
contentDirectoryservice.setManager(new DefaultServiceManager<FolderBasedContentDirectory>(contentDirectoryservice) { |
|
|
|