minidlna 1.0.24.
When I rename a directory, or change directory level inside media-dir - media files in this directory are duplicated in the directory container.
I have found the reason of the issue. The problem is with sqlite statement containing "PATH glob '%q/*'" . My directory names contain [xyz] patterns, and glob operator treats it as a regular expression.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Checked that this will work in sqlite cli. Added a similar patch to the check_for_captions function (metadata.c). I'll report after I'll try this patch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have found the reason of the issue. The problem is with sqlite statement containing "PATH glob '%q/*'" . My directory names contain [xyz] patterns, and glob operator treats it as a regular expression.
Please try the patch I posted in the patches tracker.
Checked that this will work in sqlite cli. Added a similar patch to the check_for_captions function (metadata.c). I'll report after I'll try this patch.