Merge pull request #844 from croneter/no-refresh

Don't refresh container when user chose to delete or refresh an item from the context menu
This commit is contained in:
croneter 2019-05-28 20:11:24 +02:00 committed by GitHub
commit 59aa9f3a55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,11 +60,6 @@ class ContextMenu(object):
self.api = API(xml[0]) self.api = API(xml[0])
if self._select_menu(): if self._select_menu():
self._action_menu() self._action_menu()
if self._selected_option in (OPTIONS['Delete'],
OPTIONS['Refresh']):
LOG.info("refreshing container")
app.APP.monitor.waitForAbort(0.5)
xbmc.executebuiltin('Container.Refresh')
@staticmethod @staticmethod
def _get_plex_id(kodi_id, kodi_type): def _get_plex_id(kodi_id, kodi_type):