Jump to content

DLNA playback not working


Recommended Posts

Posted (edited)

Hello,

 

me again :(

Since 3.5.3 (maybe a bit earlier as well) and with the Beta versions 3.6.0.x the DLNA playback is not working.

It plays the song for 5 seconds then stops and starts another  song.

The display on the Marantz SR7007 shows server error as message.

 

The server is an Ubuntu 18.04 machine with

ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright © 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil      55. 78.100 / 55. 78.100
libavcodec     57.107.100 / 57.107.100
libavformat    57. 83.100 / 57. 83.100
libavdevice    57. 10.100 / 57. 10.100
libavfilter     6.107.100 /  6.107.100
libavresample   3.  7.  0 /  3.  7.  0
libswscale      4.  8.100 /  4.  8.100
libswresample   2.  9.100 /  2.  9.100
libpostproc    54.  7.100 / 54.  7.100
 

The playback does not work with mp3, wav, opus or ogg files.

But if I access the A/V via the Webbrowser and trigger the playback for Wav, ogg or mp3 it wokrs.

Furthermore if I use BubbleUPNP from my mobile device it also is working. But it seems that it converts the files to wav.

 

 

Greetings.

 

 

EDIT: and I also played around with the profile, which did not help. I set the serial number, some codecs (opus, ogg) .

Server.log

Edited by twinkybot
Posted

Ok, unfortunate I do not have a Marantz for testing. It seems to be working fine on my Dlna devices, but I will do more testing. Thanks.

  • 2 months later...
Posted (edited)

I'm very unhappy too with my emby server for DLNA support.

I do not use any profiles -> the default one should work - but did not in any case of hardware ....

 

I used different types of hardware 1 DUNE HD Max HiFi Client Component (DLNA working but loading very long time)

 

a Pure Sensia 200D Connect Audio Player (saying no Servers found allthough there is listed the emby server under UPnP-Devices)

 

a Medion MD 87248 also finding my emby DLNA Server but when klicking on it -> the root will be empty -> no errors reported on this device

 

 

My Logfile says

2018-12-24 02:17:10.230 Error Dlna: Error creating PlayTo device.
	*** Error Report ***
	Version: 3.6.0.80
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.15.0.43
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Connection refused ---> System.Net.Sockets.SocketException: Connection refused
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.Device.CreateuPnpDeviceAsync(Uri url, IHttpClient httpClient, IServerConfigurationManager config, ILogger logger, ITimerFactory timerFactory, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, String location, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager._deviceDiscovery_DeviceDiscovered(Object sender, GenericEventArgs`1 e)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.Device.CreateuPnpDeviceAsync(Uri url, IHttpClient httpClient, IServerConfigurationManager config, ILogger logger, ITimerFactory timerFactory, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, String location, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager._deviceDiscovery_DeviceDiscovered(Object sender, GenericEventArgs`1 e)
	InnerException: System.Net.Sockets.SocketException: Connection refused
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)

and another log

2018-12-24 05:44:43.644 Error Dlna: Error creating PlayTo device.
	*** Error Report ***
	Version: 3.6.0.80
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.15.0.43
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Connection refused ---> System.Net.Sockets.SocketException: Connection refused
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.Device.CreateuPnpDeviceAsync(Uri url, IHttpClient httpClient, IServerConfigurationManager config, ILogger logger, ITimerFactory timerFactory, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, String location, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager._deviceDiscovery_DeviceDiscovered(Object sender, GenericEventArgs`1 e)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.Device.CreateuPnpDeviceAsync(Uri url, IHttpClient httpClient, IServerConfigurationManager config, ILogger logger, ITimerFactory timerFactory, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, String location, CancellationToken cancellationToken)
	   at Emby.Dlna.PlayTo.PlayToManager._deviceDiscovery_DeviceDiscovered(Object sender, GenericEventArgs`1 e)
	InnerException: System.Net.Sockets.SocketException: Connection refused
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)

I started emby with 3.5.3 so i don't have any experiences with earlier Versions <3.5.x with DLNA support.

 

I don't know what could cause the empty root dir of my UPnP Server and / or the message "No Servers were found" when emby is listed under my UPnP Servers in the LAN.

 

For testing i stopped emby UPnP Server and restarted it again -> same result.

 

 

And for testing -> a quick and dirty setup miniDLNA Server could reproducable be found by any of the three devices without any Error Messages! Playback on all Devices with miniDLNA no Problem.

Edited by chrissi55
Posted

It says connection refused. Any reason why the marantz would refuse the connection?

Posted (edited)

My terminal devices are no Marantz devices.

 

I own a Pure Sensia 200D Connect and a Medion MD87248 that are both denied by the DLNA Server or not able to connect.

 

A reason why those devices reject the connection is not obvious. Both clients are no pc's with a firewall onboard or something like that.

On both devices are only simple settings to make. UPnP/DLNA support can only be enabled/disabled on those devices.

Factory defaults on both (blocked) devices, delivers the emy media server as present in the network with it's friendly name.

 

 

A new DUNE HD Pro 4K (thank god it's x-mas) is able to connect to the DLNA Server but with same slow connection results as my DUNE HD Max before.

Sometimes clicking on Sources -> Network -> UPnP is empty. Then reload this page 1 or 2 times and my Emby Server (friendly Name) is coming up.

When clicking on that Emby DLNA Icon my folders on the Media Server become visible.

 

 

Could it be a problem of the default DLNA profile? But there is no special profile for a Pure Audio device or a Medion device in emby server... Which paramteres do i need for building such a profile?

Edited by chrissi55
Posted

 

 

A reason why those devices reject the connection is not obvious. 

Probably because there's something in our communications that they don't like, and therefore they're rejecting them altogether. Unfortunately without having these devices for testing it's difficult to say, but hopefully by providing fixes for devices we do have, at some point they'll start working as well.

 

 

A new DUNE HD Pro 4K (thank god it's x-mas) is able to connect to the DLNA Server but with same slow connection results as my DUNE HD Max before.

Sometimes clicking on Sources -> Network -> UPnP is empty. Then reload this page 1 or 2 times and my Emby Server (friendly Name) is coming up.

When clicking on that Emby DLNA Icon my folders on the Media Server become visible.

 

Someone else reported this for an older device and I am looking into it. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...