mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +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():
|
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):
|
||||||
|
|
Loading…
Reference in a new issue