Don't refresh container when use chose to delete or refresh an item

This commit is contained in:
croneter 2019-05-01 08:35:32 +02:00
parent edb9d6e2b0
commit 1a7a36820a

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