I use the minidlna from the fedora repos (latest version minidlna-1.2.0-2.fc26.x86_64), and a new sqlite update (sqlite-libs-3.20.1-1.fc26.x86_64) seems to be making minidlna start infinite looping when I copy a directory with new video files into a directory minidlna "owns". See the redhat bugzilla: 1493782. I just thought I'd mention it here in case it is really a minidlna bug.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tested sqlite (3.20.1) and minidlna (git) on my system (not redhat based) and could not reproduce your issue. Are you using 'cp -r' to copy the directory? It is possible there is a problem with your distro's sqlite package, try building sqlite and minidlna from source.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use the minidlna from the fedora repos (latest version minidlna-1.2.0-2.fc26.x86_64), and a new sqlite update (sqlite-libs-3.20.1-1.fc26.x86_64) seems to be making minidlna start infinite looping when I copy a directory with new video files into a directory minidlna "owns". See the redhat bugzilla: 1493782. I just thought I'd mention it here in case it is really a minidlna bug.
I tested sqlite (3.20.1) and minidlna (git) on my system (not redhat based) and could not reproduce your issue. Are you using 'cp -r' to copy the directory? It is possible there is a problem with your distro's sqlite package, try building sqlite and minidlna from source.
Do you by chance have files.db under your media_dir(s) with inotify enabled?