Re-add refresh for certain options only

To avoid duplicate refresh
This commit is contained in:
angelblue05 2016-09-26 17:39:05 -05:00
parent 975d0aa10d
commit 16691b585d

View file

@ -53,8 +53,11 @@ class ContextMenu(object):
if self._select_menu(): if self._select_menu():
self._action_menu() self._action_menu()
#xbmc.sleep(500) if self._selected_option in (OPTIONS['Delete'], OPTIONS['AddFav'],
#xbmc.executebuiltin('Container.Refresh') OPTIONS['RemoveFav'], OPTIONS['RateSong']):
log.info("refreshing container")
xbmc.sleep(500)
xbmc.executebuiltin('Container.Refresh')
@classmethod @classmethod
def _get_item_type(cls): def _get_item_type(cls):