From 18b2781210e8ad74e86fc2a281bbe3f87d2e62d0 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 2 Aug 2017 18:30:29 +0200 Subject: [PATCH] Revert "Add Kodi info screen for episodes in context menu" This reverts commit 3cb4b538876cc2a30a55d6e9d8fd2acad0d6d16d. --- 8356 | 0 FETCH_HEAD | 0 develop | 0 resources/language/resource.language.en_gb/strings.po | 5 ----- resources/lib/PlexAPI.py | 2 -- resources/lib/entrypoint.py | 1 - script-plex-connect-server.xml} | 0 7 files changed, 8 deletions(-) delete mode 100644 8356 delete mode 100644 FETCH_HEAD delete mode 100644 develop delete mode 100644 script-plex-connect-server.xml} diff --git a/8356 b/8356 deleted file mode 100644 index e69de29b..00000000 diff --git a/FETCH_HEAD b/FETCH_HEAD deleted file mode 100644 index e69de29b..00000000 diff --git a/develop b/develop deleted file mode 100644 index e69de29b..00000000 diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index a2297406..6a5d051c 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -83,11 +83,6 @@ msgctxt "#30017" msgid "Unauthorized for PMS" msgstr "" -# Kodi context menu entry for movie and episode information screen -msgctxt "#30018" -msgid "Information" -msgstr "" - msgctxt "#30022" msgid "Advanced" msgstr "" diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index 6b8773cd..6f1c1661 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -2534,8 +2534,6 @@ class API(): # Expensive operation metadata['title'] = title listItem.setInfo('video', infoLabels=metadata) - # Add context menu entry for information screen - listItem.addContextMenuItems([(lang(30018), 'XBMC.Action(Info)',)]) return listItem def add_video_streams(self, listItem): diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index a72d3a9c..eaf360fb 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -255,7 +255,6 @@ def createListItem(item, appendShowTitle=False, appendSxxExx=False): li.setArt({'icon': 'DefaultTVShows.png'}) li.setProperty('dbid', str(item['episodeid'])) li.setProperty('fanart_image', item['art'].get('tvshow.fanart','')) - li.addContextMenuItems([(lang(30018), 'XBMC.Action(Info)',)]) for key, value in item['streamdetails'].iteritems(): for stream in value: li.addStreamInfo(key, stream) diff --git a/script-plex-connect-server.xml} b/script-plex-connect-server.xml} deleted file mode 100644 index e69de29b..00000000