The branch, frodo has been updated
       via  2797b0316ac7f67ca28185764b20a14a98c61f4f (commit)
      from  50c47c13860631150029e73a5884cb241eec1e8f (commit)

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

commit 2797b0316ac7f67ca28185764b20a14a98c61f4f
Author: Martijn Kaijser <[email protected]>
Date:   Sun Jul 14 14:19:04 2013 +0200

    [script.service.radiovis ] 0.2.1

diff --git a/script.service.radiovis/addon.py b/script.service.radiovis/addon.py
index 0924d79..ca39f31 100644
--- a/script.service.radiovis/addon.py
+++ b/script.service.radiovis/addon.py
@@ -114,25 +114,20 @@ class RadioVISPlayer(xbmc.Player):
        _active = False
        
        def __init__(self, *args):
-               if self.checkFileTime(self._checkinFile, 
self._addonProfilePath, 86400) == True :
+               if self.checkFileTime(self._checkinFile, 
self._addonProfilePath) == True :
                        open(self._checkinFile, "w")
                        
self._httpComm.get('http://stats.backend-systems.net/xbmc/?plugin='+ 
self._addon.getAddonInfo('id') + '&version=' + 
self._addon.getAddonInfo('version'))
                pass
                        
 
-       def checkFileTime( self, tmpfile, cachedir, timesince ) :
+       def checkFile( self, tmpfile, cachedir ) :
                #xbmc.executebuiltin('XBMC.Notification("Checking 
filetime","")')
                if not os.path.exists( cachedir ) :
                        os.makedirs( cachedir )
                        return False
                # If file exists, check timestamp
                if os.path.exists( tmpfile ) :
-                       if os.path.getmtime( tmpfile ) > ( time.time() - 
timesince ) :
-                               xbmc.log( 'It has not been ' + str( 
timesince/60 ) + ' minutes since ' + tmpfile + ' was last updated', 
xbmc.LOGNOTICE )
-                               return False
-                       else :
-                               xbmc.log( 'The cachefile ' + tmpfile + ' + has 
expired', xbmc.LOGNOTICE )
-                               return True
+                       return False
                # If file does not exist, return true so the file will be 
created by scraping the page
                else :
                        xbmc.log( 'The cachefile ' + tmpfile + ' does not 
exist', xbmc.LOGNOTICE )
diff --git a/script.service.radiovis/addon.xml 
b/script.service.radiovis/addon.xml
index c5b0f29..0f1c82b 100644
--- a/script.service.radiovis/addon.xml
+++ b/script.service.radiovis/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.service.radiovis"
        name="RadioVIS Service"
-       version="0.2.0"
+       version="0.2.1"
        provider-name="Backend-Systems.net (Janek Ilgner)">
     <requires>
         <import addon="xbmc.python" version="2.1.0"/>
diff --git a/script.service.radiovis/changelog.txt 
b/script.service.radiovis/changelog.txt
index 80fe766..3fba7bf 100644
--- a/script.service.radiovis/changelog.txt
+++ b/script.service.radiovis/changelog.txt
@@ -1,4 +1,6 @@
 [B]Version 0.1.0 - 2013-04-02[/B]
 - Initial version, can hook up to RadioVIS stomp servers for icecast stations
 [B]Version 0.2.0 - 2013-05-08[/B]
-- Fixed a major bug in parsing the correct FQDN from incoming icy-url
\ No newline at end of file
+- Fixed a major bug in parsing the correct FQDN from incoming icy-url
+[B]Version 0.2.1 - 2013-07-04[/B]
+- Added installation count tracking to keep us informed if the addon is used
\ No newline at end of file
diff --git a/script.service.radiovis/icon.png b/script.service.radiovis/icon.png
index 36be856..a133130 100644
Binary files a/script.service.radiovis/icon.png and 
b/script.service.radiovis/icon.png differ

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

Summary of changes:
 script.service.radiovis/addon.py      |   11 +++--------
 script.service.radiovis/addon.xml     |    2 +-
 script.service.radiovis/changelog.txt |    4 +++-
 script.service.radiovis/icon.png      |  Bin 12905 -> 12904 bytes
 4 files changed, 7 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to