The branch, frodo has been updated
       via  6d4f871ffae25fb119583372da2fee9554bc312f (commit)
      from  a097ee7dc15a9db3bc93e798c7a34e893ec9fac3 (commit)

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

commit 6d4f871ffae25fb119583372da2fee9554bc312f
Author: Martijn Kaijser <[email protected]>
Date:   Sat Dec 14 13:27:23 2013 +0100

    [plugin.video.mms] 3.3.2

diff --git a/plugin.video.mms/addon.xml b/plugin.video.mms/addon.xml
index 4b8480e..2e910a8 100644
--- a/plugin.video.mms/addon.xml
+++ b/plugin.video.mms/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.mms" name="Missing Movie Scanner" version="3.3.1" 
provider-name="null_pointer">
+<addon id="plugin.video.mms" name="Missing Movie Scanner" version="3.3.2" 
provider-name="null_pointer">
   <requires>
     <import addon="xbmc.python" version="2.1.0"/>
   </requires>
diff --git a/plugin.video.mms/default.py b/plugin.video.mms/default.py
index 30c1e06..8b24d23 100644
--- a/plugin.video.mms/default.py
+++ b/plugin.video.mms/default.py
@@ -40,6 +40,11 @@ filesFound = 0
 def log(line):
     if DEBUG_LOGGING:
         print "MMS : " + line#repr(line)
+        
+    #xbmc.log(line, 2)
+    #xbmc.log("Test", 0) #Debug
+    #xbmc.log("text", 1) #Info
+    #xbmc.log("Test", 2) #Notive
 
 def clean_name(text):
     text = text.replace('%21', '!')
@@ -140,6 +145,9 @@ def file_contains_forbiden(filename):
 def walk_Path(path, walked_files, progress):
     log("walk_Path(" + path + ")")
     
+    if progress.iscanceled():
+        return    
+    
     global dirCount
     global fileCount
     global filesFound
@@ -187,6 +195,8 @@ def walk_Path(path, walked_files, progress):
     dirCount += 1
     
     for file in files:
+        if progress.iscanceled():
+            return
         if file['filetype'] == "directory":
             walk_Path(file["file"], walked_files, progress)
         elif file['filetype'] == "file":

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

Summary of changes:
 plugin.video.mms/addon.xml  |    2 +-
 plugin.video.mms/default.py |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to