From 1ed1974673444f2fe24d285f2945e57ff2c1094e Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 22 Mar 2015 13:22:09 +0100 Subject: [PATCH] fixed error in player.py --- resources/lib/Player.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/lib/Player.py b/resources/lib/Player.py index e8a4c911..eda7f38c 100644 --- a/resources/lib/Player.py +++ b/resources/lib/Player.py @@ -252,9 +252,7 @@ class Player( xbmc.Player ): if(subtitleindex != None and subtitleindex!=""): url = url + "&SubtitleStreamIndex=" + subtitleindex - self.downloadUtils.downloadUrl(url, postBody="", type="POST") - - jsonData = downloadUtils.downloadUrl("http://" + server + "/mediabrowser/Users/" + userid + "/Items/" + id + "?format=json&ImageTypeLimit=1", suppress=False, popup=1 ) + self.downloadUtils.downloadUrl(url, postBody="", type="POST") # save data map for updates and position calls data = {}