Jellyfin Forum
No more DLNA profiles? - 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: No more DLNA profiles? (/t-no-more-dlna-profiles)

Pages: 1 2


No more DLNA profiles? - seemebreakthis - 2024-06-06

I just realized DLNA is now a plugin.

With the old DLNA feature, you were able to define custom profiles. And I used to have a profile with my TV to force it to transcode (to be able to play some audio / video formats) and have subtitles burnt into the video.

But now it seems the entire profile tab is gone? And sure enough I tested some videos and they no longer play properly on my (old) Sony Bravia TV.

Hmm... I guess there is no way around this, but just thought I create a post here for that 0.00001% chance there is some workaround?


RE: No more DLNA profiles? - TheDreadPirate - 2024-06-06

You can still use profiles. If you go into the Jellyfin data directory, then the plugins folder, there is a profiles folder in the DLNA folder. Its just not available in the plugin config page.

Code:
root@rat-trap:/docker/jellyfin-stable/jellyfin-data/config/plugins/DLNA_2.0.0.0# ll profiles/
total 232
drwxr-xr-x 2 jellyfin jellyfin  4096 Jun  1 23:01  ./
drwxr-xr-x 3 jellyfin jellyfin  4096 Jun  1 23:01  ../
-rw-r--r-- 1 jellyfin jellyfin  3923 Jun  1 23:01  Default.xml
-rw-r--r-- 1 jellyfin jellyfin  4141 Jun  1 23:01 'Denon AVR.xml'
-rw-r--r-- 1 jellyfin jellyfin  3974 Jun  1 23:01 'DirecTV HD-DVR.xml'
-rw-r--r-- 1 jellyfin jellyfin  5585 Jun  1 23:01 'Dish Hopper-Joey.xml'
-rw-r--r-- 1 jellyfin jellyfin  5456 Jun  1 23:01 'LG Smart TV.xml'
-rw-r--r-- 1 jellyfin jellyfin  3470 Jun  1 23:01 'Linksys DMA2100.xml'
-rw-r--r-- 1 jellyfin jellyfin  3922 Jun  1 23:01  Marantz.xml
-rw-r--r-- 1 jellyfin jellyfin  3969 Jun  1 23:01  MediaMonkey.xml
-rw-r--r-- 1 jellyfin jellyfin  5520 Jun  1 23:01 'Panasonic Viera.xml'
-rw-r--r-- 1 jellyfin jellyfin  5786 Jun  1 23:01 'Popcorn Hour.xml'
-rw-r--r-- 1 jellyfin jellyfin  8064 Jun  1 23:01 'Samsung Smart TV.xml'
-rw-r--r-- 1 jellyfin jellyfin  3927 Jun  1 23:01 'Sharp Smart TV.xml'
-rw-r--r-- 1 jellyfin jellyfin 11317 Jun  1 23:01 'Sony Blu-ray Player 2013.xml'
-rw-r--r-- 1 jellyfin jellyfin 11317 Jun  1 23:01 'Sony Blu-ray Player 2014.xml'
-rw-r--r-- 1 jellyfin jellyfin 11133 Jun  1 23:01 'Sony Blu-ray Player 2015.xml'
-rw-r--r-- 1 jellyfin jellyfin 11133 Jun  1 23:01 'Sony Blu-ray Player 2016.xml'
-rw-r--r-- 1 jellyfin jellyfin 12454 Jun  1 23:01 'Sony Blu-ray Player.xml'
-rw-r--r-- 1 jellyfin jellyfin  8200 Jun  1 23:01 'Sony Bravia (2010).xml'
-rw-r--r-- 1 jellyfin jellyfin  8727 Jun  1 23:01 'Sony Bravia (2011).xml'
-rw-r--r-- 1 jellyfin jellyfin  7298 Jun  1 23:01 'Sony Bravia (2012).xml'
-rw-r--r-- 1 jellyfin jellyfin  7532 Jun  1 23:01 'Sony Bravia (2013).xml'
-rw-r--r-- 1 jellyfin jellyfin  7674 Jun  1 23:01 'Sony Bravia (2014).xml'
-rw-r--r-- 1 jellyfin jellyfin  6269 Jun  1 23:01 'Sony PlayStation 3.xml'
-rw-r--r-- 1 jellyfin jellyfin  6394 Jun  1 23:01 'Sony PlayStation 4.xml'
-rw-r--r-- 1 jellyfin jellyfin  6096 Jun  1 23:01 'WDTV Live.xml'
-rw-r--r-- 1 jellyfin jellyfin  7961 Jun  1 23:01 'Xbox One.xml'
-rw-r--r-- 1 jellyfin jellyfin  4297 Jun  1 23:01  foobar2000.xml



RE: No more DLNA profiles? - doc_jellyfin - 2024-06-23

I also have this problem after upgrading to 10.9.6!

Found the new folder (jellyfin/plugins/DLNA_2.0.0.0/profiles) and copied the old working file (config/dlna/user/Sonos Speakers.xml)

Sadly this does NOT work!


Log:
Quote:[2024-06-24 01:02:05.521 +02:00] [INF] [17] Jellyfin.Plugin.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
DeviceIdentification { FriendlyName: "192.168.1.x - Sonos Era 300 - RINCON_xxx Büro", ModelNumber: "S41", SerialNumber: null, ModelName: "Sonos Era 300", ModelDescription: "Sonos Era 300", ModelUrl: "http://www.sonos.com/products/zoneplayers/S41", Manufacturer: "Sonos, Inc.", ManufacturerUrl: "http://www.sonos.com", Headers: [] }


cat plugins/DLNA_2.0.0.0/profiles/Sonos\ Speakers.xml
Quote:<?xml version="1.0" encoding="utf-8"?>
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Sonos Speakers</Name>
  <Identification>
    <FriendlyName />
    <ModelNumber />
    <SerialNumber />
    <ModelName />
    <ModelDescription />
    <ModelUrl />
    <Manufacturer>Sonos</Manufacturer>
    <ManufacturerUrl />
    <Headers />
  </Identification>
  <FriendlyName />
  <Manufacturer>Jellyfin</Manufacturer>
  <ManufacturerUrl>https://github.com/jellyfin/jellyfin</ManufacturerUrl>
  <ModelName>Jellyfin Server</ModelName>
  <ModelNumber>01</ModelNumber>
  <ModelUrl>https://github.com/jellyfin/jellyfin</ModelUrl>
  <SerialNumber />
  <SupportedMediaTypes>Audio</SupportedMediaTypes>
  <UserId><removed></UserId>
  <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>8000000</MaxStaticMusicBitrate>
  <SonyAggregationFlags />
  <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>
  <XmlRootAttributes />
  <DirectPlayProfiles>
    <DirectPlayProfile container="" audioCodec="mp3,wav" videoCodec="" type="Audio" />
  </DirectPlayProfiles>
  <TranscodingProfiles>
    <TranscodingProfile container="mp3" type="Audio" videoCodec="" audioCodec="mp3" protocol="Http" estimateContentLength="true" transcodeSeekInfo="Bytes">
      <Conditions />
    </TranscodingProfile>
  </TranscodingProfiles>
  <ContainerProfiles />
  <CodecProfiles>
    <CodecProfile type="Audio" codec="opus">
      <Conditions />
      <ApplyConditions />
    </CodecProfile>
  </CodecProfiles>
  <ResponseProfiles />
  <SubtitleProfiles>
    <SubtitleProfile format="srt" method="External" />
    <SubtitleProfile format="sub" method="External" />
    <SubtitleProfile format="srt" method="Embed" />
    <SubtitleProfile format="ass" method="Embed" />
    <SubtitleProfile format="ssa" method="Embed" />
    <SubtitleProfile format="smi" method="Embed" />
    <SubtitleProfile format="dvdsub" method="Embed" />
    <SubtitleProfile format="pgs" method="Embed" />
    <SubtitleProfile format="pgssub" method="Embed" />
    <SubtitleProfile format="sub" method="Embed" />
    <SubtitleProfile format="subrip" method="Embed" />
    <SubtitleProfile format="vtt" method="Embed" />
  </SubtitleProfiles>



RE: No more DLNA profiles? - Suhsi - 2024-06-27

Same here, DLNA is no more working since 10.9.x


RE: No more DLNA profiles? - carrierfry - 2024-06-29

So, I had the opposite problem (I don't want Jellyfin to transcode anything if not absolutely necessary) and after the switch to the plugin, Jellyfin tried to always transcode 4K HDR movies.
After a lot of trial and error with digging around in the profiles XMLs, I finally managed to get it to work! Here is the XML I use now:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Samsung Smart TV CUSTOM</Name>
  <Identification>
    <FriendlyName />
    <ModelNumber />
    <SerialNumber />
    <ModelName />
    <ModelDescription>Samsung TV DMR</ModelDescription>
    <ModelUrl />
    <Manufacturer />
    <ManufacturerUrl />
    <Headers>
      <HttpHeaderInfo name="User-Agent" value="SEC_" match="Substring" />
    </Headers>
  </Identification>
  <FriendlyName />
  <Manufacturer>Jellyfin</Manufacturer>
  <ManufacturerUrl>https://github.com/jellyfin/jellyfin</ManufacturerUrl>
  <ModelName>Jellyfin Server</ModelName>
  <ModelNumber>01</ModelNumber>
  <ModelUrl>https://github.com/jellyfin/jellyfin</ModelUrl>
  <SerialNumber />
  <EnableAlbumArtInDidl>true</EnableAlbumArtInDidl>
  <EnableSingleAlbumArtLimit>true</EnableSingleAlbumArtLimit>
  <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
  <UserId />
  <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>8000000</MaxStaticMusicBitrate>
  <SonyAggregationFlags />
  <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>
  <XmlRootAttributes>
    <XmlAttribute name="xmlns:sec" value="http://www.sec.co.kr/" />
  </XmlRootAttributes>
  <DirectPlayProfiles>
    <DirectPlayProfile container="" audioCodec="" videoCodec="" type="Video" />
    <DirectPlayProfile container="" audioCodec="" videoCodec="" type="Photo" />
    <DirectPlayProfile container="" audioCodec="" videoCodec="" type="Audio" />
  </DirectPlayProfiles>
  <TranscodingProfiles />
  <ContainerProfiles>
    <ContainerProfile type="Photo" container="">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="8000" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="8000" isRequired="true" />
      </Conditions>
    </ContainerProfile>
  </ContainerProfiles>
  <CodecProfiles>
    <CodecProfile type="Video" codec="mpeg2video">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="1920" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoFramerate" value="30" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="30720000" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
    <CodecProfile type="Video" codec="mpeg4">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="1920" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoFramerate" value="30" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="8192000" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
    <CodecProfile type="Video" codec="h264">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="1920" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoFramerate" value="30" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="37500000" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoLevel" value="41" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
    <CodecProfile type="Video" codec="hevc">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="3840" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="2160" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoFramerate" value="60" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="37500000" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoLevel" value="153" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
    <CodecProfile type="Video" codec="wmv2,wmv3,vc1">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="1920" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="1080" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoFramerate" value="30" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="25600000" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
    <CodecProfile type="VideoAudio" codec="wmav2,dca,aac,mp3,dts">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="AudioChannels" value="8" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
  </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>

Since I changed a lot of stuff, I can't 100% guarantee that all changes I did were necessary in the end, but here is what I did:
1. copy the custom profile I made for the original DLNA to the new plugin profile location (since I use a Samsung TV here, I had to replace the default Samsung profile as the DLNA plugin always used that one for my TV)
2. add a "hevc" CodecProfile
3. change the amount of channels in the "VideoAudio" codec profile from 6 to 8

Maybe this helps!


RE: No more DLNA profiles? - seemebreakthis - 2024-07-01

(2024-06-29, 02:07 PM)carrierfry Wrote: 1. copy the custom profile I made for the original DLNA to the new plugin profile location (since I use a Samsung TV here, I had to replace the default Samsung profile as the DLNA plugin always used that one for my TV)

Where is this "new plugin profile location"?

And did you have to overwrite any default profiles?


RE: No more DLNA profiles? - TheDreadPirate - 2024-07-01

In the Jellyfin data dir path "jellyfin/plugins/DLNA_2.0.0.0/profiles".

Windows: C:\ProgramData\Jellyfin\Server\plugins\DLNA_2.0.0.0\profiles

Linux package install: /var/lib/jellyfin/plugins/DLNA_2.0.0.0/profiles

Docker: /config/plugins/DLNA_2.0.0.0/profiles


RE: No more DLNA profiles? - carrierfry - 2024-07-01

(2024-07-01, 01:09 PM)seemebreakthis Wrote:
(2024-06-29, 02:07 PM)carrierfry Wrote: 1. copy the custom profile I made for the original DLNA to the new plugin profile location (since I use a Samsung TV here, I had to replace the default Samsung profile as the DLNA plugin always used that one for my TV)

Where is this "new plugin profile location"?

And did you have to overwrite any default profiles?

I am sure there would have been a way to not overwrite any default profiles but since I only have 1 Samsung TV in the house, I didn't mind overwriting the default Samsung TV profile. If you ever want to get it back, just delete the "Samsung Smart TV.xml" file and restart Jellyfin. The plugin will create the file again with the defaults.


RE: No more DLNA profiles? - Suhsi - 2024-07-07

Thx, its working again!


RE: No more DLNA profiles? - Suhsi - 2024-09-14

Same issue again after updating to DLNA 3.0 Plugin - Jellyfin Team, please fix this Plugin!