DLNA Profiles not being applied

Server Version#: 1.16.0.1226
Player Version#: N/A

Hi.

I am trying to make my TV (Panasonic TX-50EX700) play video files over DLNA using the Plex Media Server DLNA server on Ubuntu. I know the files are compatible with the TV as they are able to be played without transcoding via Windows 10 media library DLNA. I have attempted to create a DLNA profile with VideoProfiles in DirectPlayProfiles matching the supported formats in the TV’s manual (under the DLNA section). In the Plex DLNA logs, I see

Jun 20, 2019 02:11:40.160 [0x7fc8ff7fe700] DEBUG - GET for http://192.168.1.253:32469/proxy/cb14ff0013277a06a646/albumart.jpg
Jun 20, 2019 02:11:40.161 [0x7fc8ff7fe700] DEBUG - Mapped client to profile Panasonic Viera 3D TV using header User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50
Jun 20, 2019 02:11:40.162 [0x7fc8ff7fe700] DEBUG - Proxied GET to http://127.0.0.1:32400/photo/:/transcode?format=jpg&height=512&url=http%3A%2F%2F127%2E0%2E0%2E1%3A32400%2Flibrary%2Fmetadata%2F268%2Fthumb%2F1560896931&width=512&X-Plex-T$
Jun 20, 2019 02:11:40.162 [0x7fc8ff7fe700] DEBUG - Responding HTTP/1.1 200

I assume this is happening when the TV is requesting thumbnails.

When I try to play the video file I get this:

Jun 20, 2019 02:11:40.648 [0x7fc8fcff9700] DEBUG - GET for http://192.168.1.253:32469/object/44d750d5983d9e4e1f53/file.ts
Jun 20, 2019 02:11:40.648 [0x7fc8fcff9700] DEBUG - Mapped client to generic profile: Host: 192.168.1.253:32469; transferMode.dlna.org: Streaming; Connection: keep-alive
Jun 20, 2019 02:11:40.648 [0x7fc8fcff9700] DEBUG - Mapped object 44d750d5983d9e4e1f53 to /library/metadata/1 part 0 on server
Jun 20, 2019 02:11:40.648 [0x7fc8fcff9700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/1
Jun 20, 2019 02:11:40.649 [0x7fc8fcff9700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/metadata/1
Jun 20, 2019 02:11:40.661 [0x7fc8fcff9700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/metadata/1
Jun 20, 2019 02:11:40.662 [0x7fc8fcff9700] DEBUG - Caching document http://127.0.0.1:32400/library/metadata/1 as 8aea7d0f305a940a79efd15201acec93a4461246
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - Serving up item /library/metadata/1 part 0
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - MDE: received PLEX_PROTOCOL_ANY from client, but could not determine best protocol. Defaulting to HTTP
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - MDE: analyzing media item 1
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - MDE: Video File: Direct Playing due to no transcode profile
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - MDE: Video File: no direct play video profile exists for http/mkv/hevc
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - MDE: Video File: no direct play video profile exists for http/mkv/hevc/truehd
Jun 20, 2019 02:11:40.663 [0x7fc8fcff9700] DEBUG - MDE: Video File: no direct play video profile exists for http/mkv/hevc/ac3
Jun 20, 2019 02:11:40.664 [0x7fc8fcff9700] DEBUG - MDE: Video File: no direct play video profile exists for http/mkv/hevc/ac3
Jun 20, 2019 02:11:40.664 [0x7fc8fcff9700] DEBUG - MDE: Video File: no direct play video profile exists for http/mkv/hevc/ac3

So it looks like it’s using the generic profile for the video but it detects the Panasonic profile for thumbnails. This happens even without my custom profile in the user directory.

I’m absolutely sure the TV supports the format and encoding as well (it can play it via USB and it says in the manual that it supports mkv/h265(hevc)/ac3.

So what’s going on? Why does it load the generic profile when it can detect the Panasonic?

The built in profiles are in /usr/lib/plexmediaserver/Resources/Profiles/, and I put the custom one in /usr/lib/plexmediaserver/Profiles/ with the same name and everything.

Thanks.

Custom profiles don’t go into /usr/lib/plexmediaserver

  1. Create directory Profiles under /var/lib/plexmediaserver/Library/Application Support/Plex Media Server
  2. With Plex stopped,
  3. Copy the default profile(s) to the new Profiles directory you created above.
  4. Edit as you deem appropriate.
  5. Verify they are owned and readable by plex:plex
  6. Start PMS
  7. PMS will load these upon first use
  8. Any changes require you restart PMS each time to have it reloaded into memory.
1 Like

Thank you! This fixed my problem.

I had to use this link https://forums.plex.tv/t/writing-profiles-for-dlna-devices/38060 to find out how to write DLNA profiles and it just says

User profile files are located in the Plex Media Server user directory, in a directory called Profiles.

So I assumed it was in /usr/. Although it is very outdated (2013).

Thanks again!

I made a final, closing, information update prior to closing it.

Thanks for pointing that out.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.