minidlna: add static uuid in config
authorAlberto Bursi <redacted>
Fri, 13 Dec 2019 10:12:31 +0000 (11:12 +0100)
committerAlberto Bursi <redacted>
Fri, 13 Dec 2019 10:12:31 +0000 (11:12 +0100)
commit154f5b6806a3925e7576b92825b9bc5456551693
tree44319ea355ab471dfee9b482ad2dc3dec77e6f4d
parentb2a890f6adb9014a6db38c0b4231c42598a8512d
minidlna: add static uuid in config

minidlna uses UUID to uniquely identify the media server
by default, if the "uuid" option is not specified in
its setting file it will try to autogenerate it by
reading MAC address.

This seems to fail on some devices resulting in random
UUID on reboot, and this causes confusion and issues as
for clients this is a new server and must be added to
the list.
In OpenWrt there are also devices where the system can't
read the true MAC address and it is therefore randomized
on reboot.

So, add a static UUID in the settings file.
Since each mindlna server should have a different UUID,
if the user has more than one OpenWrt device with
minidlna, he should change the UUID of the
additional devices.

Signed-off-by: Alberto Bursi <redacted>
multimedia/minidlna/Makefile
multimedia/minidlna/files/minidlna.config
multimedia/minidlna/files/minidlna.init
git clone https://git.99rst.org/PROJECT