Exemplo n.º 1
0
 def __init__(self, name, url, mode=None, tags="", extraArgs=None, season=None, episode=None):
     """Create an item 
     @param label: the label for this item
     @param url: the url to load this item
     @param tags: the tags to show """
     PluginMovieItem.__init__(self, name, url, mode, extraArgs, season, episode)
     self.title = name + tags
 def __init__(self, name, url, mode=None, metadata=None, tags="", extraArgs=None):
     """Create an item 
     @param label: the label for this item
     @param url: the url to load this item
     @param metadata: the metadata to show this item in XBMC
     @param tags: the tags to show """
     PluginMovieItem.__init__(self, name, url, mode, extraArgs)
     self.metadata = metadata
     self.title = name + tags
 def getLabels(self):
     if self.metadata:
         return self.metadata.getLabels()
     return PluginMovieItem.getLabels(self)