From ba2e824ec691d6230f9c246847052fc461a76c7b Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Mon, 18 Dec 2017 09:11:53 -0500 Subject: [PATCH] Update item.py --- plugin.video.alfa/core/item.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugin.video.alfa/core/item.py b/plugin.video.alfa/core/item.py index f3e89aeb..a0301c7f 100755 --- a/plugin.video.alfa/core/item.py +++ b/plugin.video.alfa/core/item.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # -------------------------------------------------------------------------------- # Item is the object we use for representing data # -------------------------------------------------------------------------------- @@ -170,8 +170,6 @@ class Item(object): # Al modificar cualquiera de estos atributos content... if name in ["contentTitle", "contentPlot", "plot", "contentSerieName", "contentType", "contentEpisodeTitle", "contentSeason", "contentEpisodeNumber", "contentThumbnail", "show", "contentQuality", "quality"]: - # ... marcamos hasContentDetails como "true"... - self.__dict__["hasContentDetails"] = True # ...y actualizamos infoLables if name == "contentTitle": self.__dict__["infoLabels"]["title"] = value @@ -236,10 +234,6 @@ class Item(object): self.__dict__["viewcontent"] = viewcontent return viewcontent - # Valor por defecto para hasContentDetails - elif name == "hasContentDetails": - return False - # valores guardados en infoLabels elif name in ["contentTitle", "contentPlot", "contentSerieName", "show", "contentType", "contentEpisodeTitle", "contentSeason", "contentEpisodeNumber", "contentThumbnail", "plot", "duration",