Jump to content

Error DLNA: Error updating device info


chempionmaks
Go to solution Solved by Luke,

Recommended Posts

chempionmaks

Hello.
I have PC with linux Debian 11 (bullseye) with installed emby-server  4.7.11.0 and av-reciever yamaha RX-V685.
I listen music from Emby on yamaha by DLNA, and it' s work great before today :(
Today my reciever didn't find Emby-server
I found errors in logs

 

2023-05-15 19:09:52.867 Error DLNA: Error updating device info for Кімната для прослуховування
        *** Error Report ***
        Version: 4.7.11.0
        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 -restarte
xitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Linux version 5.10.0-23-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1
        Framework: .NET 6.0.8
        OS/Process: x64/x64
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 4
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        System.Xml.XmlException: System.Xml.XmlException: '=' is an unexpected token. The expected token is ';'. Line 1, position 2302.
           at System.Xml.XmlTextReaderImpl.Throw(Exception e)
           at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
           at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
           at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(Int32 pos, String expectedToken1, String expectedToken2)
           at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
           at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
           at System.Xml.XmlTextReaderImpl.FinishPartialValue()
           at System.Xml.XmlTextReaderImpl.get_Value()
           at System.Xml.Linq.XContainer.ContentReader.ReadContentFrom(XContainer rootContainer, XmlReader r)
           at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
           at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
           at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
           at Emby.Dlna.PlayTo.SsdpHttpClient.SendCommandAsync(String url, DeviceService service, String command, ReadOnlyMemory`1 postData, CancellationToken cancellationToken, Boolean logRequest, String header
)
           at Emby.Dlna.PlayTo.Device.GetPositionInfo(TransportCommands avCommands, CancellationToken cancellationToken)
           at Emby.Dlna.PlayTo.Device.TimerCallback(Object sender)
        Source: System.Private.Xml
        TargetSite: Void Throw(System.Exception)

 

So I'm turning on debug for DLNA. Full logs in attach
Sorry if I wrote something wrong, I'm  newbie here 

emby-logs.tar

Link to comment
Share on other sites

Hi, can you enable debug logging in both dlna settings and in emby server log settings, then repeat the test and provide a new log? 

Make sure to turn off those debug options afterwards. Thanks.

Link to comment
Share on other sites

Hi, can you try this test version of the dlna plugin?

Emby.Dlna.zip

Just unzip it to /var/lib/emby/plugins, then restart the server. 

Whether this succeeds or not, please attach the emby server log again. Thanks !

Link to comment
Share on other sites

chempionmaks

I have checked, and now it's working fine. Thank you.
However, I also tried the "Play To" feature, and it's behaving strangely: When a song ends, the next one doesn't start.
I'm not sure if it used to work before;
I just tried it now. It's not very important to me, but thank you for what you have already done.

 

emby-logs.tar

Link to comment
Share on other sites

@chempionmakssorry, my mistake. I gave you a version that is only compatible with the 4.8 beta server. Here is the correct version:

Emby.Dlna.zip

Please try it, let me know the result, and attach the emby server log. Thanks !

Link to comment
Share on other sites

chempionmaks

yes, it's true, I didn't find errors in log.
But when one song from the queue finishes, the next one doesn't start.
Between when I start play music from musicCast it's working fine

 

Link to comment
Share on other sites

chempionmaks

Thank you so much, Luke.
Now it's working great.
From browser playback not stop when song ends.
And musiccast app "sees" DLNA-server.
I'm happy now :)
 

emby-logs.tar

Link to comment
Share on other sites

  • 5 months later...
chempionmaks

Hello Emby Team.
Today I'm install last update(Version 4.7.14.0) on my server(Debian 11 bullseye).
unfortunately, have encountered the DLNA issue that we previously discussed.
Now I see only Dynaudio, but can't see Devialet and Yamaha
 

image.png

emby-logs.tar

Link to comment
Share on other sites

Are you sure these devices are powered on? The server logs contain no mention of them.

I do see some crashes in your log files coming from the port mapper plugin, which I've never seen before. I'll push out an update to the plugin to resolve that, although the fix will be targeting the 4.8 beta server. 

So to stop that crashing, you can either update to the 4.8 beta server or disable the server's automatic port mapper in server network settings.

Link to comment
Share on other sites

chempionmaks

Of course, I’m sure that the device is turned on :))
In particular, I used MusicCast from Yamaha to listen to music from DLNA-server and it works.
But I did this after I sent you the logs, I can archive it again and send it to you. Olso other devices on the network “see” the speaker systems

image.png

emby-logs.tar

Link to comment
Share on other sites

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