by Kjetil-A » Mon Jun 26, 2017 4:26 pm
I have figured out why I could not connect and stream from my server. Subsonic was using a virtual network adapter that I installed some time ago when setting up a virtual machine.
Why it has worked until now is still a mystery (I have not changed anything), but when I removed it the subsoniv server started using my actual network card.
But I have not yet figured out why I can't play any files with my mediastreamer (OPPO).
When I try to play a file, its just skipping all files in the directory until the last file. From the errorlog:
[2017-06-26 18:10:08,620] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-127, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:08,964] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-127, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:10,576] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-2014, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:11,067] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-2014, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:12,548] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-2092, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:12,581] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-2092, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 10
[2017-06-26 18:10:12,588] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-2092, browseFlag: BrowseDirectChildren, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:12,736] INFO FolderBasedContentDirectory - UPnP request - objectId: folder-2092/Killer, browseFlag: BrowseMetadata, filter: *, firstResult: 0, maxResults: 1
[2017-06-26 18:10:12,736] ERROR FolderBasedContentDirectory - UPnP error: java.lang.NumberFormatException: For input string: "2092/Killer"
java.lang.NumberFormatException: For input string: "2092/Killer"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at net.sourceforge.subsonic.service.upnp.FolderBasedContentDirectory.browse(FolderBasedContentDirectory.java:77)
at org.fourthline.cling.support.contentdirectory.AbstractContentDirectoryService.browse(AbstractContentDirectoryService.java:200)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.seamless.util.Reflections.invoke(Reflections.java:41)
at org.fourthline.cling.model.action.MethodActionExecutor.execute(MethodActionExecutor.java:90)
at org.fourthline.cling.model.action.AbstractActionExecutor$1.execute(AbstractActionExecutor.java:73)
at org.fourthline.cling.model.DefaultServiceManager.execute(DefaultServiceManager.java:128)
at org.fourthline.cling.model.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:71)
at org.fourthline.cling.protocol.sync.ReceivingAction.executeSync(ReceivingAction.java:104)
at org.fourthline.cling.protocol.ReceivingSync.execute(ReceivingSync.java:63)
at org.fourthline.cling.protocol.ReceivingAsync.run(ReceivingAsync.java:71)
at org.fourthline.cling.transport.spi.UpnpStream.process(UpnpStream.java:82)
at org.fourthline.cling.transport.impl.apache.HttpServerConnectionUpnpStream$UpnpHttpService.doService(HttpServerConnectionUpnpStream.java:215)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:342)
at org.fourthline.cling.transport.impl.apache.HttpServerConnectionUpnpStream.run(HttpServerConnectionUpnpStream.java:114)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)