Hi Justin, Thanks for a great piece of software - just a quick bug report...
On line 1004 of minidlna.c, this does not return when running daemonized on my MIPS32 board.
else if (pthread_create(&inotify_thread, NULL, start_inotify, NULL) != 0)
I added various debug points and from what I can tell it starts executing inotify.c ok, with it ending up looping as normal in start_inotify(), but nothing returns back to minidlan.c and so proceeding lines such as
smonitor = OpenAndConfMonitorSocket();
and below never execute.
It runs fine in debug mode and -S mode, presumably as they don't daemonise.
(Incidentally the board I am updating this on is a Netgear one - on the original it is running in debug mode presumably as they encountered the same problem)