Jump to content
Sign in to follow this  
Wayve

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

Recommended Posts

Wayve

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:

<CaptionInfoEx d3p1:type="srt" xmlns:d3p1="sec" xmlns="sec">
http://10.42.0.167:8096/Videos/e59398b141080a191c061086f182d404/e59398b141080a191c061086f182d404/Subtitles/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:8895/resource/1/1_SUBTITLE.srt
</sec:CaptionInfoEx>

 

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.

Share this post


Link to post
Share on other sites
Luke

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 !

Share this post


Link to post
Share on other sites
Wayve

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.

Share this post


Link to post
Share on other sites
Luke

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

Share this post


Link to post
Share on other sites
Wayve

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.

Share this post


Link to post
Share on other sites
Luke

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.

Share this post


Link to post
Share on other sites
jordia

Hi

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

Share this post


Link to post
Share on other sites
Luke

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

Share this post


Link to post
Share on other sites
dayron

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?

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...