The branch, eden has been updated
       via  8bfe1c285ee737eeb6b0d1b8fca134d3794e724d (commit)
       via  7be1fdf7614884d2f38bb361f73eb5cb9fc66c91 (commit)
      from  8cb53c7bfcde76ce2b1b009488d38afea3fdf7c9 (commit)

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


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

commit 7be1fdf7614884d2f38bb361f73eb5cb9fc66c91
Author: amet <[email protected]>
Date:   Mon May 21 12:01:08 2012 +0400

    [script.gomiso] -1.4.0
    
    Solved problem with checking in movies
    Fixed year issue

diff --git a/script.gomiso/addon.xml b/script.gomiso/addon.xml
index d053fbb..b23a673 100644
--- a/script.gomiso/addon.xml
+++ b/script.gomiso/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.gomiso"
        name="gomiso"
-       version="1.3.1"
+       version="1.4.0"
        provider-name="metabaron">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/script.gomiso/changelog.txt b/script.gomiso/changelog.txt
index ed368f7..3a5d68a 100644
--- a/script.gomiso/changelog.txt
+++ b/script.gomiso/changelog.txt
@@ -1,3 +1,6 @@
+Version 1.4.0
+                               Solved problem with checking in movies
+                               Fixed year issue
 version 1.3.1  Changed Python version to 2.0 for Eden
                                Should have solved the Unicode problems
 version 1.3.0  New autostart feature
diff --git a/script.gomiso/default.py b/script.gomiso/default.py
index 2200648..ebbe749 100644
--- a/script.gomiso/default.py
+++ b/script.gomiso/default.py
@@ -10,7 +10,7 @@ import simplejson as json
 __author__ = "Mathieu Feulvarch"
 __copyright__ = "Copyright 2011, Mathieu Feulvarch "
 __license__ = "GPL"
-__version__ = "1.3.0"
+__version__ = "1.4.0"
 __maintainer__ = "Mathieu Feulvarch"
 __email__ = "[email protected]"
 __status__ = "Production"
@@ -190,9 +190,19 @@ else:
                                                        
letsGo.checking(json_result[0]['media']['id'], season, episode, displayMessage)
                                                        if verboseScreen:
                                                                
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)"  % ('Gomiso', showname 
+ ' S' + season + 'E' + episode + ' ' + __language__(30918), 5000, 
__settings__.getAddonInfo("icon")))
-                                               else:
+                                               elif (showname[-1]!=")"):
                                                        if verboseScreen:
                                                                
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)"  % ('Gomiso', showname 
+ ' S' + season + 'E' + episode + ' ' + __language__(30917), 5000, 
__settings__.getAddonInfo("icon")))
+                                               else:
+                                                       #try stripping year 
from the title (es. "Castle (2009)")
+                                                       json_result = 
json.loads(letsGo.findMedia(showname[:-7], 'tv', 1))
+                                                       if len(json_result) != 
0:                                                       
+                                                               
letsGo.checking(json_result[0]['media']['id'], season, episode, displayMessage)
+                                                               if 
verboseScreen:
+                                                                       
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)"  % ('Gomiso', showname 
+ ' S' + season + 'E' + episode + ' ' + __language__(30918), 5000, 
__settings__.getAddonInfo("icon")))
+                                                       else:
+                                                               if 
verboseScreen:
+                                                                       
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)"  % ('Gomiso', showname 
+ ' S' + season + 'E' + episode + ' ' + __language__(30917), 5000, 
__settings__.getAddonInfo("icon")))
                                                checkedTitle = currentTitle
                                        #Or are we watching a movie
                                        elif 
len(xbmc.getInfoLabel("VideoPlayer.Title")) >= 1:
@@ -200,6 +210,8 @@ else:
                                                #movieName = 
xbmc.getInfoLabel("VideoPlayer.Title")
                                                movieName = 
unicode(xbmc.getInfoLabel("VideoPlayer.Title"), errors="ignore")
                                                movieName = 
movieName.replace(",", '')
+                        season = ''
+                        episode = ''
                                                
                                                #Retrieve only one entry but 
would be good to have a threshold level like if more than 20 entries, no submit
                                                json_result = 
json.loads(letsGo.findMedia(movieName, 'movie', 1))
@@ -210,4 +222,4 @@ else:
                                                else:
                                                        if verboseScreen:
                                                                
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)"  % ('Gomiso', movieName 
+ ' ' + __language__(30917), 5000, __settings__.getAddonInfo("icon")))
-                                               checkedTitle = currentTitle
\ No newline at end of file
+                                               checkedTitle = currentTitle

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

Summary of changes:
 script.gomiso/addon.xml                            |    2 +-
 script.gomiso/changelog.txt                        |    3 +
 script.gomiso/default.py                           |   18 +-
 .../LICENSE.txt                                    |    0
 script.randomandlastitems/LISEZMOI.txt             |   94 +++
 script.randomandlastitems/README.txt               |   92 +++
 script.randomandlastitems/addon.xml                |   21 +
 script.randomandlastitems/changelog.txt            |   80 +++
 script.randomandlastitems/randomandlastitems.py    |  611 ++++++++++++++++++++
 9 files changed, 917 insertions(+), 4 deletions(-)
 copy {script.artwork.downloader => script.randomandlastitems}/LICENSE.txt 
(100%)
 create mode 100644 script.randomandlastitems/LISEZMOI.txt
 create mode 100644 script.randomandlastitems/README.txt
 create mode 100644 script.randomandlastitems/addon.xml
 create mode 100644 script.randomandlastitems/changelog.txt
 create mode 100644 script.randomandlastitems/randomandlastitems.py


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to