A way to change settings depending on Renderer?

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Pogowolf
Posts: 2
Joined: Wed Dec 10, 2014 3:27 pm

A way to change settings depending on Renderer?

Post by Pogowolf »

For example, I want to stream to two devices. One wired and one wireless. The wired device can stream pretty much full tilt with no issues. However, the wireless device stutters quite a bit. I'm wondering if there is a way if 'THIS" device connects to the server.. use 'THIS" profile/configuration.

Thank you!
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: A way to change settings depending on Renderer?

Post by infidel »

Pogowolf wrote:I'm wondering if there is a way if 'THIS" device connects to the server.. use 'THIS" profile/configuration.
Ums 5 has an experimental device-specific configuration feature that works like so:
  • Open the device's popup panel in the gui and press 'Customize':
    customizing1.jpg
    customizing1.jpg (63.5 KiB) Viewed 8670 times
  • Give the custom configuration a name in the dialog that pops up. For instance here we're calling it 'rpi' for raspberry pi. This configuration will be saved in your user profile folder inside the 'renderers' subfolder, e.g. in Windows at C:\ProgramData\UMS\renderers\rpi.conf.
  • The new conf file should open up in your text editor, e.g. Notepad. Add/override any renderer or UMS.conf setting for this specific device, for example here we're changing the icon and transcoding settings:

    Code: Select all

    #----------------------------------------------------------------------------
    # Custom Device profile
    # See PS3.conf for descriptions of all possible renderer options
    # and UMS.conf for program options.
    
    # Options in this file override the default settings for the specific XBMC device(s) listed below.
    # Specify devices by uuid (or address if no uuid), separated by commas if more than one.
    
    device = uuid:7744ff6c-541f-48a8-0878-05fdebf240db
    
    RendererIcon=C:\ProgramData\UMS\renderers\rpi128.png
    TranscodeVideo=MPEGTS-H264-AC3
    
    • UMS 5.1.4 only: There's a bug (fixed in later versions) in the auto-generated settings which requires the following fix: Change uppercase 'Device' to lowercase 'device' in this line at the top of the conf

      Code: Select all

      device = uuid:7744ff6c-541f-48a8-0878-05fdebf240db
      
  • Save this file and the device should update in UMS, with the new overrides in effect. The edit bar will show this new conf as primary, with the generic 'parent' conf accessible via the button to the left:
    customizing2.jpg
    customizing2.jpg (62.97 KiB) Viewed 8670 times
The caveat is that it's still experimental and some overrides may be ineffective :).
Pogowolf
Posts: 2
Joined: Wed Dec 10, 2014 3:27 pm

Re: A way to change settings depending on Renderer?

Post by Pogowolf »

Awesome! I don't need to render to the wireless device that often so it's not a huge deal at the moment. But great to know the feature is coming.
Thank you for the reply! (and the screen shots!)
Post Reply