Permalink
Browse files

Identation problem stopping the script from starting

  • Loading branch information...
1 parent 4cb47c9 commit 2b1ebdb2fe633c844624452ae805093bcc26fe37 @metabaron committed May 23, 2012
Showing with 15 additions and 13 deletions.
  1. +1 −1 addon.xml
  2. +2 −0 changelog.txt
  3. +12 −12 default.py
View
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.gomiso"
name="gomiso"
- version="1.4.0"
+ version="1.4.1"
provider-name="metabaron">
<requires>
<import addon="xbmc.python" version="2.0"/>
View
@@ -1,3 +1,5 @@
+Version 1.4.1
+ Indentation problem stopping the script from starting
Version 1.4.0
Solved problem with checking in movies
Fixed year issue
View
@@ -10,7 +10,7 @@
__author__ = "Mathieu Feulvarch"
__copyright__ = "Copyright 2011, Mathieu Feulvarch "
__license__ = "GPL"
-__version__ = "1.4.0"
+__version__ = "1.4.1"
__maintainer__ = "Mathieu Feulvarch"
__email__ = "mathieu@feulvarch.fr"
__status__ = "Production"
@@ -212,14 +212,14 @@ def percentageRemaining(currenttime, duration):
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))
- if len(json_result) != 0:
- letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
- if verboseScreen:
- xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30918), 5000, __settings__.getAddonInfo("icon")))
- else:
- if verboseScreen:
- xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30917), 5000, __settings__.getAddonInfo("icon")))
- checkedTitle = currentTitle
+
+ #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))
+ if len(json_result) != 0:
+ letsGo.checking(json_result[0]['media']['id'], season, episode, 'watched on XBMC with gomiso addon')
+ if verboseScreen:
+ xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30918), 5000, __settings__.getAddonInfo("icon")))
+ else:
+ if verboseScreen:
+ xbmc.executebuiltin("XBMC.Notification(%s, %s, %i, %s)" % ('Gomiso', movieName + ' ' + __language__(30917), 5000, __settings__.getAddonInfo("icon")))
+ checkedTitle = currentTitle

0 comments on commit 2b1ebdb

Please sign in to comment.