From 079adfb6194bc2a5a7f21e9c36e70237a40c7199 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 17 Jun 2015 01:13:21 -0500 Subject: [PATCH] Revert "Fix ratio poster" This reverts commit 0dc19eb87f7cb20f4d9bfe3e41aafc6a2beeb794. --- resources/lib/API.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/resources/lib/API.py b/resources/lib/API.py index 459b5bb4..03e3b0f1 100644 --- a/resources/lib/API.py +++ b/resources/lib/API.py @@ -373,14 +373,9 @@ class API(): query = "" height = "10000" width = "10000" - dimensions = "" played = "0" totalbackdrops = 0 - # Force ratio - if type == "Primary": - dimensions = "&Width=1000&Height=1500" - if originalType =="BackdropNoIndicators" and index == "0" and data.get("BackdropImageTags") != None: totalbackdrops = len(data.get("BackdropImageTags")) if totalbackdrops != 0: @@ -396,8 +391,9 @@ class API(): if imageTag == None: imageTag = "e3ab56fe27d389446754d0fb04910a34" - - artwork = "%s/mediabrowser/Items/%s/Images/%s/%s?MaxWidth=%s&MaxHeight=%s%s&Format=original&Tag=%s%s" % (server, id, type, index, width, height, dimensions, imageTag, query) + + artwork = "%s/mediabrowser/Items/%s/Images/%s/%s?MaxWidth=%s&MaxHeight=%s&Format=original&Tag=%s%s" % (server, id, type, index, width, height, imageTag, query) + #artwork = "%s/mediabrowser/Items/%s/Images/%s/%s/%s/original/%s/%s/%s?%s" % (server, id, type, index, imageTag, width, height, played, query) <- broken if addonSettings.getSetting('disableCoverArt')=='true': artwork = artwork + "&EnableImageEnhancers=false"