remove calling view master addon as it can use the display_items event now

remove originaltitle
This commit is contained in:
Shaun
2018-01-09 20:18:22 +11:00
parent a97733f587
commit 855956b6bd
3 changed files with 1 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.embycon"
name="EmbyCon"
version="1.4.26"
version="1.4.27"
provider-name="Team B">
<requires>
<import addon="xbmc.python" version="2.24.0"/>

View File

@@ -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()

View File

@@ -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)