diff options
author | Teemu Rytilahti <tpr@iki.fi> | 2018-06-21 00:10:05 +0200 |
---|---|---|
committer | Teemu Rytilahti <tpr@iki.fi> | 2018-07-17 21:57:45 +0200 |
commit | 11f998d51a4191836dacc7f9a15b14892a2782e4 (patch) | |
tree | 709993826b16c6c420da8357329f184f9a4fa303 /system | |
parent | 4fa90ff99250d5d9ca796f20f65a195433869114 (diff) |
mdns: add a txt record for http & json containing 'uuid' and 'txtvers'
Allows distinguishing between kodi installations without resorting to making any API calls.
This is also useful as kodi sends advertisements for every bound interface, causing duplicate
advertisements from a single host.
Diffstat (limited to 'system')
-rwxr-xr-x | system/settings/settings.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml index dea94ec2ae..5ab0515058 100755 --- a/system/settings/settings.xml +++ b/system/settings/settings.xml @@ -1620,6 +1620,18 @@ <control type="toggle" /> </setting> </group> + <group id="3"> + <requirement>HAS_ZEROCONF</requirement> + <setting id="services.deviceuuid" type="string"> + <visible>false</visible> + <level>1</level> + <default></default> + <constraints> + <allowempty>true</allowempty> + </constraints> + <control type="edit" format="string" /> + </setting> + </group> </category> <category id="control" label="14223" help="36327"> <group id="1" label="33101"> |