Page 1 of 1

How are renders.confs selected?

Posted: Mon Dec 02, 2013 6:38 am
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

Re: How are renders.confs selected?

Posted: Mon Dec 02, 2013 9:30 am
by DeFlanko
Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.

Re: How are renders.confs selected?

Posted: Tue Dec 03, 2013 4:47 am
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".

Re: How are renders.confs selected?

Posted: Tue Dec 03, 2013 7:39 am
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.

Re: How are renders.confs selected?

Posted: Tue Dec 03, 2013 7:43 am
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

Re: How are renders.confs selected?

Posted: Tue Dec 03, 2013 7:46 am
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 :)