Jump to content


Photo

BUG in Emby DLNA server when serving external subtitles to Samsung Smart TV DLNA Client

Bug Samsung Smart TV DidlBuilder.cs CaptionInfoEx External Subtitles

  • Please log in to reply
9 replies to this topic

#1 Wayve OFFLINE  

Wayve

    Newbie

  • Members
  • 5 posts
  • Local time: 01:39 AM

Posted 22 November 2016 - 02:05 PM

Hi,

Emby Server 3.0.8500.0 (Windows 10 64-bit) is unable to serve external .srt subtitles to Samsung Tizen JS9000, whereas Serviio is successfully able to do so.

Proper DLNA profile configured for Samsung Tizen TV in Emby and confirmed to be in use. The subtitle profile section contains the below:

  <SubtitleProfiles>
    <SubtitleProfile format="srt" method="External" didlMode="CaptionInfoEx" />
  </SubtitleProfiles>

 

Wireshark TCP capture for failed Emby external subtitles serving scenario showed the following wrong section:

&lt;CaptionInfoEx d3p1:type="srt" xmlns:d3p1="sec" xmlns="sec"&gt;
http://10.42.0.167:8.../4/0/Stream.srt
&lt;/CaptionInfoEx&gt;

 

Wireshark TCP capture for successful Serviio external subtitles serving scenario showed the following correct section:

&lt;sec:CaptionInfoEx sec:type="srt"&gt;
http://10.42.0.167:8.../1_SUBTITLE.srt
&lt;/sec:CaptionInfoEx&gt;

 

This issue is tied to the methods in MediaBrowser.Dlna/Didl/DidlBuilder.cs which should be checked.

Looking forward to have this issue fixed..and making Emby The One & Only !

Regards.



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152667 posts
  • Local time: 07:39 PM

Posted 22 November 2016 - 02:14 PM

Hi, thanks for the report. I think the forum is encoding your examples. Can you please paste them again and highlight them using the code tool? Thanks !



#3 Wayve OFFLINE  

Wayve

    Newbie

  • Members
  • 5 posts
  • Local time: 01:39 AM

Posted 22 November 2016 - 02:37 PM

Thx Luke for the feedback.

Concerning the encodings, they are actually correct. However, a more readable form would be as follows:

 

Wireshark TCP capture for failed Emby external subtitles serving scenario showed the following wrong section:

<CaptionInfoEx d3p1:type="srt" xmlns:d3p1="sec" xmlns="sec">http://10.42.0.167:8.../4/0/Stream.srt</CaptionInfoEx>

 

Wireshark TCP capture for successful Serviio external subtitles serving scenario showed the following correct section:

<sec:CaptionInfoEx sec:type="srt">http://10.42.0.167:8.../1_SUBTITLE.srt</sec:CaptionInfoEx>

 

This issue is tied to the methods in MediaBrowser.Dlna/Didl/DidlBuilder.cs which should be checked.

Regards.



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152667 posts
  • Local time: 07:39 PM

Posted 22 November 2016 - 02:43 PM

Ok thanks. That's all been rewritten so it should be resolved for the next release of Emby Server. Thanks.



#5 Wayve OFFLINE  

Wayve

    Newbie

  • Members
  • 5 posts
  • Local time: 01:39 AM

Posted 22 November 2016 - 03:12 PM

Much appreciated + Looking forward to the next release !

One more thing:

For Samsung DLNA devices, the below additional section needs to be added to the root element of every xml response from server side:

xmlns:sec="http://www.sec.co.kr/"

 

This custom section is properly declared in Emby's system profile related to Samsung Smart TV as follows:

  <XmlRootAttributes>
    <XmlAttribute name="xmlns:sec" value="http://www.sec.co.kr/"/>
  </XmlRootAttributes>

 

​However, it has never been actually sent from Emby's side to Samsung TV (in the case of Serviio, I can clearly see it being transmitted every time).

This issue is also tied to the methods in MediaBrowser.Dlna/Didl/DidlBuilder.cs which should be checked as well.

regards.



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152667 posts
  • Local time: 07:39 PM

Posted 22 November 2016 - 03:13 PM

Thanks. I believe I went through all of those as well and made sure they were consistently applied, so I think that is resolved as well.



#7 jordia OFFLINE  

jordia

    Newbie

  • Members
  • 4 posts
  • Local time: 01:39 AM

Posted 26 November 2016 - 04:38 PM

Hi

I can confirm this issue , with Archlinux, I have Samsung smart and no subtitles.



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152667 posts
  • Local time: 07:39 PM

Posted 26 November 2016 - 05:37 PM

Thanks for the report. Please try again with the next release of Emby Server.



#9 dayron OFFLINE  

dayron

    Newbie

  • Members
  • 1 posts
  • Local time: 10:39 PM

Posted 06 December 2016 - 05:27 PM

Same problem here with a Samsung series 6 TV (UN50KU6000), there are no external srt subtitles. I tried the beta and dev versions and also didn't work, is there any expectation when will be the next release?



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152667 posts
  • Local time: 07:39 PM

Posted 06 December 2016 - 05:49 PM

@dayron

Please provide the information requested in how to report a media playback issue:

https://emby.media/c...port-a-problem/

Thanks!





Also tagged with one or more of these keywords: Bug, Samsung Smart TV, DidlBuilder.cs, CaptionInfoEx, External Subtitles

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users