Jump to content

Resource Not Found Exception


Recommended Posts

Posted

Trying to use DLNA with a Sonos Play 5 and getting the following error. Any ideas what dependency might be missing?

 
*** Error Report ***
Version: 4.8.10.0
Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp
Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #72806 SMP Thu Sep 5 13:44:44 CST 2024
Framework: .NET 6.0.31
OS/Process: x64/x64
Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
Processor count: 2
Data path: /var/packages/EmbyServer/var
Application path: /volume1/@appstore/EmbyServer/system
MediaBrowser.Common.Extensions.ResourceNotFoundException: MediaBrowser.Common.Extensions.ResourceNotFoundException: Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown.
at Emby.Dlna.Api.DlnaServerService.ValidateDlnaServerRequest()
at Emby.Dlna.Api.DlnaServerService.Subscribe(ProcessContentDirectoryEventRequest request)
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
Source: Emby.Dlna
TargetSite: Void ValidateDlnaServerRequest()
 
 
Posted

Hi there, please attach the complete emby server log.

Also, are you experiencing an actual problem?

Posted

The actual problem is that the Sonos Play 5 won't play music from the Emby server via DLNA.

When I enable DLNA, the Emby Server quickly appears in the Sonos app on my iPad. I can click through and see the text of the album names, song titles, playlists and song titles, and so on. But it's text only - no artwork comes over and the Sonos app uses its generic icons instead.

And then when I try to play a song or playlist, Sonos throws a generic network error in that, like the artwork, it can't get the music either. The Sonos error number is 701, which is their generic network error. My initial assumption was that there is something that Emby expects to be on my Synology server, but that is not in fact there.

Attached is a full and clean log: restart the server, enable DLNA, attempt to play music from the Sonos app, and no other activity.

embyserver.txt

Posted

OK I would read this topic here: 

We gave it a shot a year ago but the Sonos Dlna is not standard dlna. That's as far as we were able to get.

You will need to use the dedicated Sonos plugin that we have.

 

Posted

OK, but I can find no such dedicated Sonos plugin. Where would I look for this?

And also, it might be helpful to know just what the ResourceNotFound exception is looking for. This is perhaps the most frustrating kind of error message in all of software engineering, and it appears all the time. Your code knows exactly what resource it was trying to find. It's so frustrating because adding that information to the exception text is trivial, and should be automatic.

Posted

Hi, the Sonos plugin is in the plugin catalog. You can install that in the server plugins section, in the catalog tab.

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...