Author: dmeyer
Date: Fri Dec 29 15:58:33 2006
New Revision: 2302

Modified:
   trunk/beacon/src/server/crawl.py

Log:
go recursive on create / move of dirs

Modified: trunk/beacon/src/server/crawl.py
==============================================================================
--- trunk/beacon/src/server/crawl.py    (original)
+++ trunk/beacon/src/server/crawl.py    Fri Dec 29 15:58:33 2006
@@ -264,7 +264,8 @@
             # care right now.
             if item._beacon_isdir:
                 # It is a directory. Just do a full directory rescan.
-                self._scan_add(item, recursive=False)
+                recursive = not (mask & INotify.MODIFY)
+                self._scan_add(item, recursive=recursive)
                 if name.lower().endswith('/video_ts'):
                     # it could be a dvd on hd
                     self._scan_add(item._beacon_parent, recursive=False)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to