How are renders.confs selected?

General discussion about Universal Media Server (no support or requests)
Post Reply
sapsa
Posts: 59
Joined: Wed Nov 13, 2013 8:22 am

How are renders.confs selected?

Post by sapsa »

Im curently fighting with algorithm that select render.

Its look like the "RendererName" in conf file is the most important. The first file that have valid 'UserAgentSearch' is pickup and others are skiped. I understand that speed up selecting renderer, but what with situation that having to TV of same brand ?

Is my observation correct ?

Curently i have 3 files
1.conf

Code: Select all

RendererName = 1
UserAgentSearch=LGE_DLNA_SDK
UserAgentAdditionalHeaderSearch=42LA644V
2.conf

Code: Select all

RendererName=2
UserAgentSearch=LGE_DLNA_SDK
3.conf

Code: Select all

RendererName=3
UserAgentSearch=LGE_DLNA_SDK
UserAgentAdditionalHeaderSearch=LM620
Having in mind that my TV aint saying hello with '42LA644V' at least it should be skiped, so 2.conf would be valid, but 3.conf is more detalic.

workaround: ignore config in ums.conf

PS. btw, my TV give me this as his ID: HTTP User-Agent: Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.6.0 but setting it as useragentserach,adidtionalheadersearch dont give me nothing
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: How are renders.confs selected?

Post by DeFlanko »

Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.
sapsa
Posts: 59
Joined: Wed Nov 13, 2013 8:22 am

Re: How are renders.confs selected?

Post by sapsa »

DeFlanko wrote:Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.
but two LG models dont use same kernel etc. I would like just search for "HTTP User-Agent: Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.6.0" but that would be valid for "LGE_DLNA_SDK"

Which is bad because it search and select only first conf that match only "UserAgentSearch".
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: How are renders.confs selected?

Post by DeFlanko »

sapsa wrote:
DeFlanko wrote:Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.
but two LG models dont use same kernel etc. I would like just search for "HTTP User-Agent: Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.6.0" but that would be valid for "LGE_DLNA_SDK"

Which is bad because it search and select only first conf that match only "UserAgentSearch".

Thats how the Manufacture set the User-Agent too..

What you can do is UNSELECT the renderer that has the conflict in the General Tab --> Select Renderers Button.

And then restart UMS and see if your Tv is then found.
User avatar
SubJunk
Lead Developer
Posts: 3754
Joined: Sun May 27, 2012 4:12 pm

Re: How are renders.confs selected?

Post by SubJunk »

Yup unfortunately some manufacturers don't set different identifiers for their different products, leaving us with no way to know which one it is
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: How are renders.confs selected?

Post by DeFlanko »

SubJunk wrote:Yup unfortunately some manufacturers don't set different identifiers for their different products, leaving us with no way to know which one it is

Which is one of the reasons for the renderer selection tool -- its a great feature for this reason :)
Post Reply