2024-05-04, 08:27 PM
I was having a similar problem with "network error" in skybox on a quest 2 using constantly when trying to just browse the list of media using DNLA.
Turns out that the problem was that when it was enumerating the files NullReferenceException errors were happening (see below)
However the last file that was listed in the log was not the file with the issue it was the next one that it was trying to read.
Through trial and error I was able to figure out what the problematic files were and I was unable to play them through the jellyfin web UI either.
Once I managed to find and remove all the files that had issues everything started working fine.
Posting this in the hope that it helps someone else.
Log error:
[2024-05-01 00:41:02.181 +00:00] [ERR] Error processing control request
System.NullReferenceException: Object reference not set to an instance of an object.
at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(MediaSourceInfo item, VideoOptions options)
at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(VideoOptions options)
at Emby.Dlna.Didl.DidlBuilder.AddVideoResource(XmlWriter writer, BaseItem video, String deviceId, Filter filter, StreamInfo streamInfo)
at Emby.Dlna.Didl.DidlBuilder.WriteItemElement(XmlWriter writer, BaseItem item, User user, BaseItem context, Nullable
at Emby.Dlna.Service.BaseControlHandler.CreateControlResponse(ControlRequestInfo requestInfo)
at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestInternalAsync(ControlRequest request)
at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestAsync(ControlRequest request)
Turns out that the problem was that when it was enumerating the files NullReferenceException errors were happening (see below)
However the last file that was listed in the log was not the file with the issue it was the next one that it was trying to read.
Through trial and error I was able to figure out what the problematic files were and I was unable to play them through the jellyfin web UI either.
Once I managed to find and remove all the files that had issues everything started working fine.
Posting this in the hope that it helps someone else.
Log error:
[2024-05-01 00:41:02.181 +00:00] [ERR] Error processing control request
System.NullReferenceException: Object reference not set to an instance of an object.
at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(MediaSourceInfo item, VideoOptions options)
at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(VideoOptions options)
at Emby.Dlna.Didl.DidlBuilder.AddVideoResource(XmlWriter writer, BaseItem video, String deviceId, Filter filter, StreamInfo streamInfo)
at Emby.Dlna.Didl.DidlBuilder.WriteItemElement(XmlWriter writer, BaseItem item, User user, BaseItem context, Nullable
1 contextStubType, String deviceId, Filter filter, StreamInfo streamInfo)
at Emby.Dlna.ContentDirectory.ControlHandler.HandleBrowse(XmlWriter xmlWriter, IReadOnlyDictionary
2 sparams, String deviceId)at Emby.Dlna.Service.BaseControlHandler.CreateControlResponse(ControlRequestInfo requestInfo)
at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestInternalAsync(ControlRequest request)
at Emby.Dlna.Service.BaseControlHandler.ProcessControlRequestAsync(ControlRequest request)