Open ysharoiko opened 1 year ago
So far i managed to send directly transcoded data from IPTV channel with
Home Media Server (UPnP, DLNA, HTTP) version 2.14 from 25.03.2016
with profile samsung tv 2009 (DLNA)
and it shows normally.
Maybe i can help to find some more details? got some developer tools for uPnP
Hi hit same issue, VLC can't show TV Live's any content, only a "TV Live" title(empty folder) shown in VLC DLNA. version: 10.8.4, linux, x86 ubuntu docker for movie was ok shown in VLC DLNA, only TV Live failed. I can see TV channels in jellyfin web.
sudo docker logs -f -n 100 jellyfin
[14:23:07] [ERR] [55] Emby.Dlna.ContentDirectory.ContentDirectoryService: 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, Nullable1 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)
This seems like the same or similar to jellyfin/jellyfin#8200
Both contains nullreferenceexeption at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem.
Having the same issue since updating to 1.8.4 (1.7.5 did not have the issue).
I did a quick troubleshoot of the issue and for my case it seems It (first?) triggered for an iso file in my collection.
For the iso file tile "videoStream" property is null, but the code still tries to access the Codec property leading to the crash.
I hope this should be easily fixed by someone more accustomed to the code with the help of this information.
Some additional details from the crash:
The "item" property sent to the method
The code before the crash (it crashes on last instruction)
00007FFF63872D17 je MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(MediaBrowser.Model.Dto.MediaSourceInfo, MediaBrowser.Model.Dlna.VideoOptions)+0939h (07FFF63872FB9h)
00007FFF63872D1D mov rcx,qword ptr [rbp-70h]
00007FFF63872D21 mov r11,rcx
00007FFF63872D24 mov dword ptr [r15+70h],r10d
00007FFF63872D28 mov rcx,qword ptr [rsi+20h]
00007FFF63872D2C mov rdx,qword ptr [rdi+10h]
00007FFF63872D30 mov qword ptr [rbp-0E8h],r11
00007FFF63872D37 mov r9,r11
00007FFF63872D3A mov r8d,1
00007FFF63872D40 call Method stub for: MediaBrowser.Model.Dlna.StreamBuilder.NormalizeMediaSourceFormatIntoSingleContainer(System.String, MediaBrowser.Model.Dlna.DeviceProfile, MediaBrowser.Model.Dlna.DlnaProfileType, MediaBrowser.Model.Dlna.DirectPlayProfile) (07FFF60B8C768h)
00007FFF63872D45 lea rcx,[r15+8]
00007FFF63872D49 mov rdx,rax
00007FFF63872D4C call CORINFO_HELP_ASSIGN_REF (07FFFBFF1AEB0h)
00007FFF63872D51 mov rcx,7FFF60457D58h
00007FFF63872D5B mov edx,1
00007FFF63872D60 call CORINFO_HELP_NEWARR_1_OBJ (07FFFBFF1B460h)
00007FFF63872D65 mov qword ptr [rbp-198h],rax
00007FFF63872D6C mov r8,qword ptr [rbp-0E0h]
00007FFF63872D73 mov rdx,qword ptr [r8+8]
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
This seems to still be an issue
Could this issue get more priority? For me it crashes on a folder with valid .MP4
videos.
For anyone facing same problem. Check "Display a folder view to show plain media folders" in Libraries -> Display Settings. it will somewhat mitigate issue by providing full file tree while using DLNA
The same apply to regular windows dlna browser(and samsung) -> thic pc->network -> "jellyfin dlna server" -> navigate to the folder(where is lot of content)->and is empty. Last message from jellyfin the log is:
Emby.Dlna.ContentDirectory.ContentDirectoryService: Error processing control request System.NullReferenceException: Object reference not set to an instance of an object.
windows dlna server, same folder in library = ok
version: 10.8.10, windows
Sample files that this error happens with would be nice as the server team was unsuccessful in recreating the issue.
I had this exact issue and noticed the 'media info' was missing for some files when using the web interface. To diagnose the issue, I used the webAPI to identify all files with missing codec info, and it turned out that all these files had their file permissions set to 700.
To address this, I changed the permissions to 766 with 'chmod 766 *mp4.' Subsequently, I initiated a library scan for metadata, and this resolved the issue of missing media info in the web interface. Additionally, DLNA functionality now workes once again.
The error I observed in the logs matched the error reported in this thread.
For me the issue happens with dvd backups (folder structure with all the files) and blu ray (iso backup).
I am hesitant to share the files due to copyright laws but maybe you have any dvd you can use yourselves?
Please describe your bug
Using DLNA server in jellyfin 10.8.1 On TV SONY Bravia KDL-40WE663 software version 8.609-1000-2.700-0002 open DLNA server and go into video folder - got "There are no items to display" same thing is with LIVE TV folder On another Sony KDL-32W653A i see files, but live TV does not plays, video files plays. In web browser on jellyfin page live tv and video plays normally.
Jellyfin Version
10.8.0
if other:
10.8.1
Environment
Jellyfin logs
For video folder