The branch, eden has been updated
       via  6d5aa034e712d10d104c7aea240fdf6c737bf938 (commit)
       via  6661f02574fe8b74ab135edb3a30350f1dd5bd2d (commit)
      from  c864840bae80ad9347b9f275fba5a033c0a7af45 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=6d5aa034e712d10d104c7aea240fdf6c737bf938


http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=6661f02574fe8b74ab135edb3a30350f1dd5bd2d

commit 6661f02574fe8b74ab135edb3a30350f1dd5bd2d
Author: Martijn Kaijser <[email protected]>
Date:   Sun Feb 10 18:09:52 2013 +0100

    [service.watchdog] 0.6.5

diff --git a/service.watchdog/addon.xml b/service.watchdog/addon.xml
index 33917d0..5ee46f0 100644
--- a/service.watchdog/addon.xml
+++ b/service.watchdog/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="service.watchdog"
        name="Library watchdog"
-       version="0.6.4"
+       version="0.6.5"
        provider-name="takoi">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/service.watchdog/changelog.txt b/service.watchdog/changelog.txt
index 6cea112..041c7fe 100644
--- a/service.watchdog/changelog.txt
+++ b/service.watchdog/changelog.txt
@@ -1,3 +1,6 @@
+[B]0.6.5[/B]
+- fixed: library was cleaned even if it was disabled
+
 [B]0.6.4[/B]
 - now only scans the media source an event appeared in
 - now shows notifications when a media source is not being watched (optional)
diff --git a/service.watchdog/default.py b/service.watchdog/default.py
index 501ede4..9eeb934 100644
--- a/service.watchdog/default.py
+++ b/service.watchdog/default.py
@@ -123,14 +123,16 @@ class 
EventHandler(watchdog.events.FileSystemEventHandler):
     self.event_queue.scan()
   
   def on_deleted(self, event):
-    if not event.is_directory:
-      _, ext = os.path.splitext(str(event.src_path))
-      if EXTENSIONS.find('|%s|' % ext) == -1:
-        return
-    self.event_queue.clean()
+    if CLEAN:
+      if not event.is_directory:
+        _, ext = os.path.splitext(str(event.src_path))
+        if EXTENSIONS.find('|%s|' % ext) == -1:
+          return
+      self.event_queue.clean()
   
   def on_moved(self, event):
-    self.event_queue.clean()
+    if CLEAN:
+      self.event_queue.clean()
     self.event_queue.scan()
   
   def on_any_event(self, event):

-----------------------------------------------------------------------

Summary of changes:
 .../LICENSE.txt                                    |    0
 script.categories/addon.xml                        |   17 +
 script.categories/changelog.txt                    |   20 ++
 script.categories/default.py                       |  314 ++++++++++++++++++++
 script.categories/icon.png                         |  Bin 0 -> 5458 bytes
 .../resources/language/English/strings.xml         |   38 +++
 .../resources/language/German/strings.xml          |   37 +++
 script.categories/resources/settings.xml           |   72 +++++
 service.watchdog/addon.xml                         |    2 +-
 service.watchdog/changelog.txt                     |    3 +
 service.watchdog/default.py                        |   14 +-
 11 files changed, 510 insertions(+), 7 deletions(-)
 copy {script.artwork.downloader => script.categories}/LICENSE.txt (100%)
 create mode 100644 script.categories/addon.xml
 create mode 100644 script.categories/changelog.txt
 create mode 100644 script.categories/default.py
 create mode 100644 script.categories/icon.png
 create mode 100644 script.categories/resources/language/English/strings.xml
 create mode 100644 script.categories/resources/language/German/strings.xml
 create mode 100644 script.categories/resources/settings.xml


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to