From 61ea145d496ea893a7410e6c7079601ab0c3aadb Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 2 Aug 2017 19:57:53 +0200 Subject: [PATCH 1/2] Update addon.xml --- addon.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index 105a8729..04d6d22e 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + From e5d4e44951a850301dc4d11224d9867d6a1fd298 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 2 Aug 2017 20:01:13 +0200 Subject: [PATCH 2/2] Change string ID --- resources/language/resource.language.en_gb/strings.po | 10 +++++----- resources/lib/PlexAPI.py | 2 +- resources/lib/entrypoint.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index a2297406..018cfd44 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 "" @@ -108,6 +103,11 @@ msgctxt "#30031" msgid "I own this Plex Media Server" msgstr "" +# Kodi context menu entry for movie and episode information screen +msgctxt "#30032" +msgid "Information" +msgstr "" + msgctxt "#30035" msgid "Number of recent Music Albums to show:" msgstr "" diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index 930c2e1c..65db0967 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -2536,7 +2536,7 @@ class API(): listItem.setInfo('video', infoLabels=metadata) try: # Add context menu entry for information screen - listItem.addContextMenuItems([(lang(30018), 'XBMC.Action(Info)',)]) + listItem.addContextMenuItems([(lang(30032), 'XBMC.Action(Info)',)]) except TypeError: # Kodi fuck-up pass diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 2c83ba1d..5dfc93d2 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -256,7 +256,7 @@ def createListItem(item, appendShowTitle=False, appendSxxExx=False): li.setProperty('dbid', str(item['episodeid'])) li.setProperty('fanart_image', item['art'].get('tvshow.fanart','')) try: - li.addContextMenuItems([(lang(30018), 'XBMC.Action(Info)',)]) + li.addContextMenuItems([(lang(30032), 'XBMC.Action(Info)',)]) except TypeError: # Kodi fuck-up pass