def getMovieLinkFromXML(self, id1):
        url = 'http://www.strefavod.pl/api/GetMovie?Id='+id1
        vod_items = eval(self.getpage(url,None))
#       print ("vod_items",vod_items)
        for e in vod_items["Result"]["Movie"]["MediaFiles"]:
            if e["MediaFileRole"] == "Main":
                print "mamy to"
                if len(e["MediaFileFormats"])>0:
                    url = e["MediaFileFormats"][0]["Url"]
                    print ("u",url)
        if 0 > len(url):
            return url
        else:
            return ''
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/host/strefavod.py/strefavod.getMovieLinkFromXML/swapped operands of `>`