Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#127 Inotify issue with renaming directory

open-fixed
None
5
2012-03-28
2012-03-24
Zyxmon
No

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.

Discussion

  • Zyxmon
    Zyxmon
    2012-03-25

    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.

     
  • Justin Maggard
    Justin Maggard
    2012-03-27

    Please try the patch I posted in the patches tracker.

     
  • Zyxmon
    Zyxmon
    2012-03-27

    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.

     
  • Justin Maggard
    Justin Maggard
    2012-03-28

    • assigned_to: nobody --> jmaggard
    • status: open --> open-fixed