How are renders.confs selected?
Posted: Mon Dec 02, 2013 6:38 am
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