Re "wherever possible use the <Detection> block within the profile to auto-detect and assign the profile to the renderer. This works irrespective of the IP address"
Can you please give me a bit more information about how you do this as it would be helpful?
See
https://www.serviio.org/index.php?optio ... icle&id=16.
Firstly and importantly, for the detection block to work, the renderer must tell the server something about itself (via UPnP or HTTP). Some renders do, some don't (mainly apps) and some do but they are use a generic name/identifier which is useless.
The detection block within a profile is used when a new device is found (or in your case where an existing device changes IP address) to auto-assign that profile to your device. In your case, if your custom profile had a detection block that works, then your Kindle 7 will be assigned to that profile automatically.
A detection block appears near the top of a profile and looks like
- Code:
<Detection>
<UPnPSearch>
<FriendlyName>Freindly Name</FriendlyName>
<ModelName>Model</ModelName>
<ModelNumber>ModelNumber</ModelNumber>
</UPnPSearch>
<HttpHeaders>
<User-Agent>User_Agent</User-Agent>
</HttpHeaders>
</Detection>
A block would typically contain one or more of these elements (doesent need them all, just what's needed for unique match - Freindly Name, Model, Model Number, or User_agent. I often get by with justthe freindly name within a UPnPSearch block).
Have a look in profiles.xml - theres plenty of examples in there for various existing profiles. Note that you can make use of regular expressions to match on wildcards and the like within your detection block. It does take some playing with but it is a very powerful way to assign profiles to devices.
To find what string to put into the detection block use
Intel UPnP tools and run Device Spy (with your Kindle running and connected to your network). IF the Kindle identifies itself then you will see it under the Devices:
- Capture.JPG (71.19 KiB) Viewed 21223 times
See how you go.
A final thought - if my device loses the profile again then surely it has lost any detection changes as these will not be in the default DLNA profile. Back to square one !
Nope - the device will re-acquire the correct profile via the detection block. On detecting a new device Serviio will check all detection blocks looking for a match, and if all works as it should, will assign your profile to the device.