How are renders.confs selected?
How are renders.confs selected?
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
2.conf
3.conf
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
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
Code: Select all
RendererName=2
UserAgentSearch=LGE_DLNA_SDK
Code: Select all
RendererName=3
UserAgentSearch=LGE_DLNA_SDK
UserAgentAdditionalHeaderSearch=LM620
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
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
Re: How are renders.confs selected?
Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: How are renders.confs selected?
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"DeFlanko wrote:Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.
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
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
Re: How are renders.confs selected?
sapsa wrote: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"DeFlanko wrote:Your TV's user agent looks pretty plain/general ... so setting those two additional field won't matter.
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.
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: How are renders.confs selected?
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?
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
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."