The branch, eden has been updated
       via  496590fc75630d11946ab5d60260514ca4826c1f (commit)
      from  c8b3d8e9b769a4983b53b59fc605f1e3631a04e8 (commit)

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

commit 496590fc75630d11946ab5d60260514ca4826c1f
Author: amet <[email protected]>
Date:   Thu Mar 1 16:24:00 2012 +0400

    [service.libraryautoupdate] -v 0.5.4
    
     -fixed issue with startup timer, thanks stevenD

diff --git a/service.libraryautoupdate/addon.xml 
b/service.libraryautoupdate/addon.xml
index a52ebc3..d33ad62 100644
--- a/service.libraryautoupdate/addon.xml
+++ b/service.libraryautoupdate/addon.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

 <addon id="service.libraryautoupdate"

-    name="XBMC Library Auto Update" version="0.5.2" provider-name="robweber">

+    name="XBMC Library Auto Update" version="0.5.4" provider-name="robweber">

   <requires>

     <import addon="xbmc.python" version="2.0"/>

   </requires>

diff --git a/service.libraryautoupdate/changelog.txt 
b/service.libraryautoupdate/changelog.txt
index b4546f7..f0ca499 100644
--- a/service.libraryautoupdate/changelog.txt
+++ b/service.libraryautoupdate/changelog.txt
@@ -40,4 +40,8 @@
 

 [B]Version 0.5.2[/B]

 

--fixed os import error
\ No newline at end of file
+-fixed os import error

+

+[B]Version 0.5.4[/B]

+ 

+ -fixed issue with startup timer, thanks stevenD
\ No newline at end of file
diff --git a/service.libraryautoupdate/service.py 
b/service.libraryautoupdate/service.py
index b4170a9..d36fcb9 100644
--- a/service.libraryautoupdate/service.py
+++ b/service.libraryautoupdate/service.py
@@ -28,7 +28,7 @@ class AutoUpdater:
                 self.readLastRun()
                 
                 #check if we would have run an update anyway
-                if(time.time() >= self.last_run + 
(timer_amounts[self.Addon.getSetting('timer_amount')] * 60 * 60)):
+                if(time.time() >= self.last_run + 
(self.timer_amounts[self.Addon.getSetting('timer_amount')] * 60 * 60)):
                     #trick system by subtracting the timer amount then adding 
a delay (now - timer + delay = nextrun)
                     self.last_run = time.time() - 
(self.timer_amounts[self.Addon.getSetting('timer_amount')] * 60 *60) + 
(int(self.Addon.getSetting("startup_delay")) * 60)
                     self.writeLastRun()

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

Summary of changes:
 service.libraryautoupdate/addon.xml     |    2 +-
 service.libraryautoupdate/changelog.txt |    6 +++++-
 service.libraryautoupdate/service.py    |    2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to