diff --git a/addon.py b/addon.py index aa1c6b9..be5cbf9 100644 --- a/addon.py +++ b/addon.py @@ -4,13 +4,13 @@ if sys.argv[2] == 'up': print ("Moving Up") - for x in range(0, 110): + for x in range(0, 25): xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "subtitleshiftup" }, "id": 0}') if sys.argv[2] == 'down': print ("Moving Down") - for x in range(0, 110): + for x in range(0, 25): xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "subtitleshiftdown" }, "id": 0}') @@ -18,7 +18,7 @@ if sys.argv[2] == 'in': print ("Zooming In") - for x in range(0, 24): + for x in range(0, 4): xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "zoomin" }, "id": 0}') if not xbmc.getCondVisibility('skin.hassetting(scopeformat235)'): @@ -28,7 +28,7 @@ if sys.argv[2] == 'out': print ("Zooming Out") - for x in range(0, 24): + for x in range(0, 4): xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Input.ExecuteAction", "params": { "action": "zoomout" }, "id": 0}') if not xbmc.getCondVisibility('skin.hassetting(scopeformat235)'):