Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Plex Media Server DLNA preferences

mfeingolmfeingol Director of EngineeringPosts: 5,034Members, Plex Employee, Plex Pass Plex Employee
edited July 2013 in DLNA
Version 0.9.6.5
This post lists the Plex Media Server preferences that are relevant to DLNA support. Some of these may be useful to you when debugging DLNA clients that aren't working.

The following preferences are currently supported:
  • DlnaEnabled - bool - Determines whether Plex Media Server's DLNA service is enabled. 1=on, 0=off. Default is 1.
  • DlnaPlatinumLoggingLevel - string - Specifies the level of verbosity of the Plex DLNA Server Neptune.log file. Values can be one of OFF, FATAL, SEVERE, WARNING, INFO, FINE, FINER, FINEST. Default is INFO.
  • DlnaReportTimeline - bool - Determines whether Plex Media Server's DLNA service will record approximate playback progress. 1=on, 0=off. Default is 1.
  • DlnaDeviceDiscoveryInterval - integer - Determines the duration in seconds of the interval between SSDP searches performed by Plex Media Server's DLNA server. These searches are used to enable detection of client devices by friendly name and other non-request-driven mechanisms. If this value is set to zero, no such searches will occur, and friendly name detection mechanisms will not work. Default is 60 (aka 1 minute).
  • DlnaDefaultProtocolInfo - string - specifies the string used by Plex Media Server to respond to GetProtocolInfo requests. The default is generally fine, and if you know enough to change this, you probably know what to change it to. :)
  • DlnaClientPreferences - string - Specifies video quality setting overrides for local, remote and online content, as well as direct-play and direct-streaming preferences. Settings can be specified by matching client profile name, or by IP address. If multiple settings apply to the same client, the first entry in the string wins. IP-address-based settings can also be edited by browsing into the "Preferences" folder under the video tree in a DLNA client.
A self-explanatory example of a DlnaClientPreferences string follows:
Client=Xbox 360,DirectPlay=true,DirectStream=false,LocalResolution=1920x1080,LocalVideoQuality=74,RemoteResolution=1280x720,RemoteVideoQuality=49,OnlineResolution=1280x720,OnlineVideoQuality=49,SubtitleSize=100,AudioBoost=100;IP=127.0.0.1,DirectPlay=false
On Windows, preferences are set by adding or editing registry values under HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server. Strings are REG_SZ, integers are REG_DWORD, and boolean preferences are REG_DWORD with values 0/1.

On OS X, preferences are set like this:
$ defaults write com.plexapp.plexmediaserver DlnaEnabled -boolean YES
$ defaults write com.plexapp.plexmediaserver DlnaPlatinumLoggingLevel FINE
«134

Comments

  • oranseloransel Posts: 8Members
    Where do you set the extra preferences for Plex Media Server on OS X?
  • oranseloransel Posts: 8Members

    Where do you set the extra preferences for Plex Media Server on OS X?


    ~/Library/Preferences/com.plexapp.plexmediaserver.plist
  • jalanrjalanr Posts: 93Members, Plex Pass
    Where do you set the extra preferences for Plex Media Server on Windows?
    My Plex Media Server is installed in a Windows Home Server and I cannot find that file.
    Also in "Plex DLNA Server.log" I get the message "Unable to find client DLNA profiles".

    Can anyone help me on this?

    Thanks in advance.
  • mfeingolmfeingol Director of Engineering Posts: 5,034Members, Plex Employee, Plex Pass Plex Employee
    On Windows there are registry values under HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server. If you don't see the one you're interested in, you can create it. E.g. boolean preferences are REG_DWORD with values 0/1.

    The "Unable to find client DLNA profiles" message is normal. (Unless you actually think you've created a client profile file, in which case you've named it incorrectly or put it in the wrong place.)
  • jalanrjalanr Posts: 93Members, Plex Pass
    Hi,

    Thanks for the info.
    No I have not created a client profile, just thought that the message was indicting that it could not find the "dlnaclientprofiles.xml" file

    By the way, found the file in two folders:
    "C:\\Documents and Settings\user_name\Local Settings\Application Data\Plex Media Server\Plug-ins\System.bundle\Contents\Resources\dlnaclientprofiles.xml"
    "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins\System.bundle\Contents\Resources\dlnaclientprofiles.xml"
  • mfeingolmfeingol Director of Engineering Posts: 5,034Members, Plex Employee, Plex Pass Plex Employee
    Yes. That's normal.
  • davids777@gmail.comdavids777@gmail.com Posts: 5Members, Plex Pass Plex Pass
    Any suggestions on where to place the dlnaclientprofiles.xml on a Linux Media Server? I've tried any number of locations. Do I need to create a home folder for the plex user and put it there?

    thanks
  • convasconvas Posts: 1,818Members, Plex Pass Plex Pass
    Hi,
    DlnaClientPreferences, is this also a registry entry for Windows install ?
  • mfeingolmfeingol Director of Engineering Posts: 5,034Members, Plex Employee, Plex Pass Plex Employee
    convas:

    Yes, a REG_SZ value.
  • davids777@gmail.comdavids777@gmail.com Posts: 5Members, Plex Pass Plex Pass
    To answer my own question:

    /var/lib/plexmediaserver/Library/Application Support/Plex Media Server

    MisoSoup wrote:

    Any suggestions on where to place the dlnaclientprofiles.xml on a Linux Media Server? I've tried any number of locations. Do I need to create a home folder for the plex user and put it there?

    thanks
  • rndrummondrndrummond Posts: 39Members, Plex Pass Plex Pass
    MisoSoup wrote:

    Any suggestions on where to place the dlnaclientprofiles.xml on a Linux Media Server? I've tried any number of locations. Do I need to create a home folder for the plex user and put it there?

    thanks

    where is this file on mac osx?
  • iankenianken Posts: 139Members, Plex Pass Plex Pass
    jalanr wrote:

    By the way, found the file in two folders:
    "C:\\Documents and Settings\user_name\Local Settings\Application Data\Plex Media Server\Plug-ins\System.bundle\Contents\Resources\dlnaclientprofiles.xml"
    "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins\System.bundle\Contents\Resources\dlnaclientprofiles.xml"


    I saw that too. The guide on client profiles says to put it in the user directory under the PMS folder. What "user" directory? Do I need to create it? is it along the "user_name\local settings" path or the "program files\..." path?

    -Ian
  • davids777@gmail.comdavids777@gmail.com Posts: 5Members, Plex Pass Plex Pass
    rndrummond wrote:
    where is this file on mac osx?


    ~/Library/Application Support/Plex Media Server/
  • XebozoneXebozone Posts: 10Members ✭✭
    MisoSoup wrote:

    To answer my own question:

    /var/lib/plexmediaserver/Library/Application Support/Plex Media Server


    That is the system profile, I believe.
    Where is the client profile searched for?
    Does anybody know this on Ubuntu?
    I tried /usr/lib/plexmediaserver/Library/Application Support/Plex Media Server
    but it seems this is wrong, as it is just a copy of the var/lib one, and the xml file was already there.
  • davids777@gmail.comdavids777@gmail.com Posts: 5Members, Plex Pass Plex Pass
    The log shows my customized dlnaclientprofiles.xml loading from this location.

    Xebozone wrote:

    That is the system profile, I believe.
    Where is the client profile searched for?
    Does anybody know this on Ubuntu?
    I tried /usr/lib/plexmediaserver/Library/Application Support/Plex Media Server
    but it seems this is wrong, as it is just a copy of the var/lib one, and the xml file was already there.
  • jmkjmk Posts: 46Members
    @mfeingol: it looks like your asumption "you know how to set preferences on your platform of choice" is off :) Would you maybe edit your first post and add these? Right now, one has to scroll through the thread to find the relevant tid bits. May be you could put it in one place? (After all, the thread title is "Plex Media Server DLNA preferences") Thank you.
  • irwindesignsirwindesigns Posts: 2Members, Plex Pass
    I feel like a total newb, I.ve read through this post and I am not able to find the .plist preferences file anywhere on my MacMini. I want to try using th DNLA server on my PS3 to see how performance is but it seems to be turned off.

    Plex Media Server - Version 0.9.6.0-e37b24b
    Mac Mini
    Processor 2.4 GHz Intel Core 2 Duo
    Memory 8 GB 1067 MHz DDR3
    Graphics NVIDIA GeForce 320M 256 MB
    Software Mac OS X Lion 10.7.3 (11D50b)
  • bmxpunk2315bmxpunk2315 Posts: 20Members, Plex Pass ✭✭
    edited April 2012
    I'm having the same trouble finding the .plist file. I don't have any prefs for plex or pms that I can find. I even dug through the app content and couldn't find it. Any help would rock!
  • mtrivsmtrivs Posts: 4Members, Plex Pass
    If it is any use, I have Ubuntu 12.04 and found dlnaclientprofiles.xml file in:
    /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/System.bundle/Contents/Resources

    never hurts to try a:
    $ locate dlnaclientprofiles.xml
    
    :)
  • RussLRussL Posts: 7Members, Plex Pass Plex Pass

    I feel like a total newb, I.ve read through this post and I am not able to find the .plist preferences file anywhere on my MacMini. I want to try using th DNLA server on my PS3 to see how performance is but it seems to be turned off.

    Plex Media Server - Version 0.9.6.0-e37b24b
    Mac Mini
    Processor 2.4 GHz Intel Core 2 Duo
    Memory 8 GB 1067 MHz DDR3
    Graphics NVIDIA GeForce 320M 256 MB
    Software Mac OS X Lion 10.7.3 (11D50b)


    /Users/<your username>/Library/Preferences/com.plexapp.plexmediaserver.plist

    If it's not there, stop Plex and reinstall the 9.6.0 beta. I just installed it and my WDTV Live picked up Plex as a DLNA server right away.
«134
Sign In or Register to comment.