Skip to content

Commit

Permalink
Identation problem stopping the script from starting
Browse files Browse the repository at this point in the history
  • Loading branch information
metabaron committed May 23, 2012
1 parent 4cb47c9 commit 2b1ebdb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.gomiso" <addon id="script.gomiso"
name="gomiso" name="gomiso"
version="1.4.0" version="1.4.1"
provider-name="metabaron"> provider-name="metabaron">
<requires> <requires>
<import addon="xbmc.python" version="2.0"/> <import addon="xbmc.python" version="2.0"/>
Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
@@ -1,3 +1,5 @@
Version 1.4.1
Indentation problem stopping the script from starting
Version 1.4.0 Version 1.4.0
Solved problem with checking in movies Solved problem with checking in movies
Fixed year issue Fixed year issue
Expand Down
24 changes: 12 additions & 12 deletions default.py
Expand Up @@ -10,7 +10,7 @@
__author__ = "Mathieu Feulvarch" __author__ = "Mathieu Feulvarch"
__copyright__ = "Copyright 2011, Mathieu Feulvarch " __copyright__ = "Copyright 2011, Mathieu Feulvarch "
__license__ = "GPL" __license__ = "GPL"
__version__ = "1.4.0" __version__ = "1.4.1"
__maintainer__ = "Mathieu Feulvarch" __maintainer__ = "Mathieu Feulvarch"
__email__ = "mathieu@feulvarch.fr" __email__ = "mathieu@feulvarch.fr"
__status__ = "Production" __status__ = "Production"
Expand Down Expand Up @@ -212,14 +212,14 @@ def percentageRemaining(currenttime, duration):
movieName = movieName.replace(",", '') movieName = movieName.replace(",", '')
season = '' season = ''
episode = '' episode = ''
#Retrieve only one entry but would be good to have a threshold level like if more than 20 entries, no submit #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)) json_result = json.loads(letsGo.findMedia(movieName, 'movie', 1))
if len(json_result) != 0: if len(json_result) != 0:
letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon') letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
if verboseScreen: if verboseScreen:
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30918), 5000, __settings__.getAddonInfo("icon"))) xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30918), 5000, __settings__.getAddonInfo("icon")))
else: else:
if verboseScreen: if verboseScreen:
xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30917), 5000, __settings__.getAddonInfo("icon"))) xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30917), 5000, __settings__.getAddonInfo("icon")))
checkedTitle = currentTitle checkedTitle = currentTitle

0 comments on commit 2b1ebdb

Please sign in to comment.