Open extrowerk opened 3 years ago
The correct java version from the About page is:
Apache Tomcat/8.5.51, java 1.8.0_242, Haiku (463.8 MB / 797.0 MB)
Also logs fro mthe About page:
at org.fourthline.cling.model.action.AbstractActionExecutor$1.execute(AbstractActionExecutor.java:73) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.model.DefaultServiceManager.execute(DefaultServiceManager.java:128) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.model.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:71) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.protocol.sync.ReceivingAction.executeSync(ReceivingAction.java:104) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.protocol.ReceivingSync.execute(ReceivingSync.java:63) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.protocol.ReceivingAsync.run(ReceivingAsync.java:71) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.transport.spi.UpnpStream.process(UpnpStream.java:82) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.transport.impl.apache.HttpServerConnectionUpnpStream$UpnpHttpService.doService(HttpServerConnectionUpnpStream.java:215) [cling-core-2.0.1.jar!/:na]
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:342) [httpcore-4.4.11.jar!/:4.4.11]
at org.fourthline.cling.transport.impl.apache.HttpServerConnectionUpnpStream.run(HttpServerConnectionUpnpStream.java:114) [cling-core-2.0.1.jar!/:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
2021-02-05 09:19:25.106 INFO --- o.a.p.service.PodcastService : Starting scheduled Podcast refresh.
2021-02-05 09:19:25.107 INFO --- o.a.p.service.PodcastService : Completed scheduled Podcast refresh.
2021-02-05 09:20:10.926 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-0, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:20:10.939 ERROR --- o.a.p.s.u.DispatchingContentDirectory : UPnP error: java.lang.RuntimeException: DLNA Base LAN URL is not set correctly
java.lang.RuntimeException: DLNA Base LAN URL is not set correctly
at org.airsonic.player.service.upnp.CustomContentDirectory.getBaseUrl(CustomContentDirectory.java:98) ~[classes!/:10.6.2-RELEASE]
at org.airsonic.player.service.upnp.CustomContentDirectory.createResourceForSong(CustomContentDirectory.java:67) ~[classes!/:10.6.2-RELEASE]
at org.airsonic.player.service.upnp.MediaFileUpnpProcessor.createItem(MediaFileUpnpProcessor.java:149) ~[classes!/:10.6.2-RELEASE]
at org.airsonic.player.service.upnp.MediaFileUpnpProcessor.addChild(MediaFileUpnpProcessor.java:125) ~[classes!/:10.6.2-RELEASE]
at org.airsonic.player.service.upnp.MediaFileUpnpProcessor.addChild(MediaFileUpnpProcessor.java:45) ~[classes!/:10.6.2-RELEASE]
at org.airsonic.player.service.upnp.UpnpContentProcessor.browseObject(UpnpContentProcessor.java:114) ~[classes!/:10.6.2-RELEASE]
at org.airsonic.player.service.upnp.DispatchingContentDirectory.browse(DispatchingContentDirectory.java:122) ~[classes!/:10.6.2-RELEASE]
at org.fourthline.cling.support.contentdirectory.AbstractContentDirectoryService.browse(AbstractContentDirectoryService.java:200) [cling-support-2.0.1.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_242]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_242]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_242]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_242]
at org.seamless.util.Reflections.invoke(Reflections.java:41) [seamless-util-1.1.0.jar!/:na]
at org.fourthline.cling.model.action.MethodActionExecutor.execute(MethodActionExecutor.java:90) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.model.action.AbstractActionExecutor$1.execute(AbstractActionExecutor.java:73) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.model.DefaultServiceManager.execute(DefaultServiceManager.java:128) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.model.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:71) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.protocol.sync.ReceivingAction.executeSync(ReceivingAction.java:104) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.protocol.ReceivingSync.execute(ReceivingSync.java:63) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.protocol.ReceivingAsync.run(ReceivingAsync.java:71) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.transport.spi.UpnpStream.process(UpnpStream.java:82) [cling-core-2.0.1.jar!/:na]
at org.fourthline.cling.transport.impl.apache.HttpServerConnectionUpnpStream$UpnpHttpService.doService(HttpServerConnectionUpnpStream.java:215) [cling-core-2.0.1.jar!/:na]
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:342) [httpcore-4.4.11.jar!/:4.4.11]
at org.fourthline.cling.transport.impl.apache.HttpServerConnectionUpnpStream.run(HttpServerConnectionUpnpStream.java:114) [cling-core-2.0.1.jar!/:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242]
2021-02-05 09:20:57.041 INFO --- o.airsonic.player.dao.PlayerDao : Created player 2.
2021-02-05 09:21:01.501 INFO --- o.a.p.service.VersionService : Resolved local Airsonic version to: 10.6.2-RELEASE
I tred to set the LAN Server address to http://192.168.1.67/airsonic
, now the files shows up, but playing is still not possible, the TV complaints "The network is not connected" (translated by me, from hungarian)
Log during browsing and trying to play something:
2021-02-05 09:30:01.488 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-12, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:30:04.706 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-214, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:30:29.755 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:30:32.951 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-1, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:30:39.249 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-0, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:30:40.503 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-0, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 100, maxResults: 100
2021-02-05 09:30:43.725 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-10, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
2021-02-05 09:30:46.490 INFO --- o.a.p.s.u.DispatchingContentDirectory : UPnP request - objectId: folder-198, browseFlag: BrowseDirectChildren, filter: res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, firstResult: 0, maxResults: 100
I tred to set the LAN Server address to
http://192.168.1.67/airsonic
, now the files shows up, but playing is still not possible, the TV complaints "The network is not connected" (translated by me, from hungarian)
Think you need the port from airsonic, i.e. 8080 on your URL
@extrowerk the upnp service runs mostly under the port 4041 but to see anything is necesary the conntact to the application, which seems not to work due to the lack of port.
Adding the port doesn't change anything, the TV says every folder is empty.
Log: https://gist.github.com/extrowerk/6accc9bba97c1a0776b183eb91f80ec5
Any idea?
Streaming to my phone trough SubSonar app works ok, playback also ok, but thats not using DLNA AFAIK.
Which URL do you use now? With or w/o port? The port is mandatory to open the files. At least you don't get anymore the error:
2021-02-05 09:14:39.024 ERROR --- o.a.p.s.u.DispatchingContentDirectory : UPnP error: java.lang.RuntimeException: DLNA Base LAN URL is not set correctly
java.lang.RuntimeException: DLNA Base LAN URL is not set correctly
try with VLC upnp if airsonic is visible and the unix tool gssdp-discover
can you help searching for upnp devices.
If still doesn't work, maybe you want to have a look to the airsonic-advanced fork. It is possible from the TV to recognice others upnp devices? The application gerbera has more support for TV devices.
This is with the port 8080. The TV sees airsonic just fine, but doesnt lists the files, just the folders. Thanks for the hints, will check.
Problem description
My TV recognizes Airsonic as a DLNA source, but can't list the media files. The TV complaints the connection is broken.
Steps to reproduce
Airsonic running standalone on Haiku, which is probably an untested configuration.
System information
Additional notes
Console log: