From 855956b6bd55e6148bf1a4cb47da0729a930b8db Mon Sep 17 00:00:00 2001 From: Shaun Date: Tue, 9 Jan 2018 20:18:22 +1100 Subject: [PATCH] remove calling view master addon as it can use the display_items event now remove originaltitle --- addon.xml | 2 +- resources/lib/functions.py | 10 ---------- resources/lib/item_functions.py | 1 - 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/addon.xml b/addon.xml index 9a1ca1a..a22ba40 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/functions.py b/resources/lib/functions.py index 3b43b32..9358180 100644 --- a/resources/lib/functions.py +++ b/resources/lib/functions.py @@ -359,16 +359,6 @@ def getContent(url, params): display_items_notification = {"view_type": viewType} send_event_notification("display_items", display_items_notification) - # if the view master addon is available then run the script - # TODO: remove this when viewmaster addon is updated - try: - view_addon = xbmcaddon.Addon("script.viewmaster") - if view_addon is not None: - xbmc.executebuiltin('RunScript(' + xbmc.translatePath( - "special://home/addons/script.viewmaster/default.py") + ',' + viewType + ')') - except: - pass - if (progress != None): progress.update(100, i18n('done')) progress.close() diff --git a/resources/lib/item_functions.py b/resources/lib/item_functions.py index c453337..eb8a323 100644 --- a/resources/lib/item_functions.py +++ b/resources/lib/item_functions.py @@ -371,7 +371,6 @@ def add_gui_item(url, item_details, display_options, folder=True): videoInfoLabels['cast'] = videoInfoLabels['castandrole'] = [(cast_member['name'], cast_member['role']) for cast_member in item_details.cast] videoInfoLabels["title"] = listItemName - videoInfoLabels["originaltitle"] = item_details.original_title videoInfoLabels["plot"] = item_details.plot videoInfoLabels["Overlay"] = item_details.overlay videoInfoLabels["playcount"] = str(item_details.play_count)