This is an updated version of Jeff Aylesworth's multi-instance patch for MiniDLNA based on latest head. It has the following features:
-u <uuid> command line option: allows setting of all or part of the UUID on the command line (partial UUID is overlaid on the default from the first character'
-u auto has special behaviour: The 17th through 22nd byte values of the UUID are replaced with the hex encoded process ID of the MiniDLNA process. This allows multiple instances to be started without manually specifying a different UUID each time.
A 'uuid' directive in the minidlna.conf file supports the same behaviour as the command line switch, i.e, You can set 'uuid=1a2b3c' in minidlna.conf to replace the first 6 characters of the default UUID with 1a2b3c. You can also set 'uuid=auto' in minidlna.conf to embed the process ID of minidlna in the UUID.