diff --git a/externalsearch.py b/externalsearch.py index 49653837..be94e640 100644 --- a/externalsearch.py +++ b/externalsearch.py @@ -9,9 +9,6 @@ sys.path.insert(0, librerias) from core import tmdb from core.item import Item -__addon__ = config.get_addon_core() -addon_name = __addon__.getAddonInfo('name') - def execute_search(): """ Gather the selected ListItem's attributes in order to compute the `Item` parameters @@ -26,7 +23,6 @@ def execute_search(): # ADDON: maybe can we know if the current windows is related to a specific addon? # we could skip the ContextMenu if we already are in KOD's window - # tmdbid = xbmc.getInfoLabel('ListItem.Property(tmdb_id)') mediatype = xbmc.getInfoLabel('ListItem.DBTYPE') @@ -34,7 +30,6 @@ def execute_search(): year = xbmc.getInfoLabel('ListItem.Year') imdb = xbmc.getInfoLabel('ListItem.IMDBNumber') - logstr = "Selected ListItem is: 'IMDB: {}' - TMDB: {}' - 'Title: {}' - 'Year: {}'' - 'Type: {}'".format(imdb, tmdbid, title, year, mediatype) logger.info(logstr)