Jellyfin Forum
SOLVED: Getting DLNA to work on Samsung 8 Series TV - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Getting DLNA to work on Samsung 8 Series TV (/t-solved-getting-dlna-to-work-on-samsung-8-series-tv)



Getting DLNA to work on Samsung 8 Series TV - regul8or - 2024-06-15

Today I found there's an update for Jellyfin. Updated server to 10.9.6, installed DLNA plugin 2.0.0.0.

Before update everything was ok with my Samsung TV. After update all my h265 videos are going to be transcoded. h264 are still played directly. Well, server have no problem with transcode, I just don't want it to unless really really needed.

Found standard Samsung TV DLNA profile in /var/lib/jellyfin/plugins/DLNA_2.0.0.0/profiles. I'd like to create a specific profile for my model but can't figure out how my TV identifies itself to the server. There's an entry in JF log

Code:
DLNA Session created for [TV] Samsung 8 Series (55) - UE55TU8500UXRU

Is there a way to view protocol headers (without Wireshark)?

Also, I'd appreciate any help editing profile itself. I tried adding h265 or hevc to entries in <DirectPlayProfiles> like this:

Code:
  <DirectPlayProfiles>
    <DirectPlayProfile container="mkv" audioCodec="mp3,ac3,dca,aac,dts" videoCodec="h265,h264,mpeg4,mjpeg4" type="Video" />
    <DirectPlayProfile container="mp4,m4v" audioCodec="mp3,aac" videoCodec="h265,h264,mpeg4" type="Video" />
  </DirectPlayProfiles>

but without any success


RE: Getting DLNA to work on Samsung 8 Series TV - Suhsi - 2024-06-27

Same issue here: after updating from 10.8.x to 10.9.x DLNA isnt working anymore. Tried different hints on github but nothing worked. Only solution is to down grade.


RE: Getting DLNA to work on Samsung 8 Series TV - carrierfry - 2024-06-29

I was able to make a custom profile successfully that is able to direct play h265. I don't want to repeat myself, so I leave a link to the my reply in another post here: https://forum.jellyfin.org/t-no-more-dlna-profiles?pid=28486#pid28486


RE: Getting DLNA to work on Samsung 8 Series TV - regul8or - 2024-06-29

(2024-06-29, 02:28 PM)carrierfry Wrote: I was able to make a custom profile successfully that is able to direct play h265. I don't want to repeat myself, so I leave a link to the my reply in another post here: https://forum.jellyfin.org/t-no-more-dlna-profiles?pid=28486#pid28486

Oops, I mistakenly clicked an answer above this one as a solution, sorry.

I took Wireshark nevertheless and found request/response I needed. Took a default profile and the one from @carrierfry and come up with this one:

Code:
<?xml version="1.0"?>
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Samsung Smart TV</Name>
  <Identification>
    <ModelUrl>samsung.com</ModelUrl>
    <friendlyName>Samsung 8 Series</friendlyName>
    <Headers>
      <HttpHeaderInfo name="User-Agent" value="SEC_" match="Substring" />
    </Headers>
  </Identification>
  <Manufacturer>Jellyfin</Manufacturer>
  <ManufacturerUrl>https://github.com/jellyfin/jellyfin</ManufacturerUrl>
  <ModelName>Jellyfin Server</ModelName>
  <ModelDescription>UPnP/AV 1.0 Compliant Media Server</ModelDescription>
  <ModelNumber>01</ModelNumber>
  <ModelUrl>https://github.com/jellyfin/jellyfin</ModelUrl>
  <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl>
  <EnableSingleAlbumArtLimit>true</EnableSingleAlbumArtLimit>
  <EnableSingleSubtitleLimit>false</EnableSingleSubtitleLimit>
  <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
  <AlbumArtPn>JPEG_SM</AlbumArtPn>
  <MaxAlbumArtWidth>480</MaxAlbumArtWidth>
  <MaxAlbumArtHeight>480</MaxAlbumArtHeight>
  <MaxIconWidth>48</MaxIconWidth>
  <MaxIconHeight>48</MaxIconHeight>
  <MaxStreamingBitrate>140000000</MaxStreamingBitrate>
  <MaxStaticBitrate>140000000</MaxStaticBitrate>
  <MusicStreamingTranscodingBitrate>192000</MusicStreamingTranscodingBitrate>
  <MaxStaticMusicBitrate xsi:nil="true" />
  <ProtocolInfo>http-get:*:video/mpeg:*,http-get:*:video/mp4:*,http-get:*:video/vnd.dlna.mpeg-tts:*,http-get:*:video/avi:*,http-get:*:video/x-matroska:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/wtv:*,http-get:*:audio/mpeg:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wav:*,http-get:*:audio/L16:*,http-get:*:image/jpeg:*,http-get:*:image/png:*,http-get:*:image/gif:*,http-get:*:image/tiff:*</ProtocolInfo>
  <TimelineOffsetSeconds>0</TimelineOffsetSeconds>
  <RequiresPlainVideoItems>false</RequiresPlainVideoItems>
  <RequiresPlainFolders>false</RequiresPlainFolders>
  <EnableMSMediaReceiverRegistrar>false</EnableMSMediaReceiverRegistrar>
  <IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>
  <XmlRootAttributes>
    <XmlAttribute name="xmlns:sec" value="http://www.sec.co.kr/" />
  </XmlRootAttributes>
  <DirectPlayProfiles>
    <DirectPlayProfile container="" type="Video" />
    <DirectPlayProfile container="" type="Audio" />
    <DirectPlayProfile container="" type="Photo" />
  </DirectPlayProfiles>
  <TranscodingProfiles />
  <ContainerProfiles />
  <CodecProfiles />
  <ResponseProfiles>
    <ResponseProfile container="avi" type="Video" mimeType="video/x-msvideo">
      <Conditions />
    </ResponseProfile>
    <ResponseProfile container="mkv" type="Video" mimeType="video/x-mkv">
      <Conditions />
    </ResponseProfile>
    <ResponseProfile container="flac" type="Audio" mimeType="audio/x-flac">
      <Conditions />
    </ResponseProfile>
    <ResponseProfile container="m4v" type="Video" mimeType="video/mp4">
      <Conditions />
    </ResponseProfile>
  </ResponseProfiles>
  <SubtitleProfiles>
    <SubtitleProfile format="srt" method="Embed" />
    <SubtitleProfile format="srt" method="External" didlMode="CaptionInfoEx" />
  </SubtitleProfiles>
</Profile>

Its <Identification> is specific for my TV model. This way it's not conflicting with the default Samsung profile. Empty <DirectPlayProfiles>, I think basically tells it to play everything directly. Also I emptied <TranscodingProfiles>, <ContainerProfiles> and <CodecProfiles> - just in case.

Now everything plays just like I means it to. Hope this helps


RE: Getting DLNA to work on Samsung 8 Series TV - Suhsi - 2024-07-07

Thx, its working again!