mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Re-add refresh for certain options only
To avoid duplicate refresh
This commit is contained in:
parent
975d0aa10d
commit
16691b585d
1 changed files with 5 additions and 2 deletions
|
@ -53,8 +53,11 @@ class ContextMenu(object):
|
|||
if self._select_menu():
|
||||
self._action_menu()
|
||||
|
||||
#xbmc.sleep(500)
|
||||
#xbmc.executebuiltin('Container.Refresh')
|
||||
if self._selected_option in (OPTIONS['Delete'], OPTIONS['AddFav'],
|
||||
OPTIONS['RemoveFav'], OPTIONS['RateSong']):
|
||||
log.info("refreshing container")
|
||||
xbmc.sleep(500)
|
||||
xbmc.executebuiltin('Container.Refresh')
|
||||
|
||||
@classmethod
|
||||
def _get_item_type(cls):
|
||||
|
|
Loading…
Reference in a new issue