Revert "Add Kodi info screen for episodes in context menu"

This reverts commit 3cb4b53887.
This commit is contained in:
tomkat83 2017-08-02 18:30:29 +02:00
parent 3cb4b53887
commit 18b2781210
7 changed files with 0 additions and 8 deletions

0
8356
View file

View file

View file

View file

@ -83,11 +83,6 @@ msgctxt "#30017"
msgid "Unauthorized for PMS" msgid "Unauthorized for PMS"
msgstr "" msgstr ""
# Kodi context menu entry for movie and episode information screen
msgctxt "#30018"
msgid "Information"
msgstr ""
msgctxt "#30022" msgctxt "#30022"
msgid "Advanced" msgid "Advanced"
msgstr "" msgstr ""

View file

@ -2534,8 +2534,6 @@ class API():
# Expensive operation # Expensive operation
metadata['title'] = title metadata['title'] = title
listItem.setInfo('video', infoLabels=metadata) listItem.setInfo('video', infoLabels=metadata)
# Add context menu entry for information screen
listItem.addContextMenuItems([(lang(30018), 'XBMC.Action(Info)',)])
return listItem return listItem
def add_video_streams(self, listItem): def add_video_streams(self, listItem):

View file

@ -255,7 +255,6 @@ def createListItem(item, appendShowTitle=False, appendSxxExx=False):
li.setArt({'icon': 'DefaultTVShows.png'}) li.setArt({'icon': 'DefaultTVShows.png'})
li.setProperty('dbid', str(item['episodeid'])) li.setProperty('dbid', str(item['episodeid']))
li.setProperty('fanart_image', item['art'].get('tvshow.fanart','')) li.setProperty('fanart_image', item['art'].get('tvshow.fanart',''))
li.addContextMenuItems([(lang(30018), 'XBMC.Action(Info)',)])
for key, value in item['streamdetails'].iteritems(): for key, value in item['streamdetails'].iteritems():
for stream in value: for stream in value:
li.addStreamInfo(key, stream) li.addStreamInfo(key, stream)