mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Modify notification
Ensure notification does not appear during video playback.
This commit is contained in:
parent
b433f6a870
commit
7c1f04b4e1
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Items(object):
|
||||||
|
|
||||||
def content_pop(self, name):
|
def content_pop(self, name):
|
||||||
# It's possible for the time to be 0. It should be considered disabled in this case.
|
# It's possible for the time to be 0. It should be considered disabled in this case.
|
||||||
if not self.pdialog and self.content_msg and self.new_time:
|
if not self.pdialog and self.content_msg and self.new_time and (not xbmc.Player().isPlayingVideo() or xbmc.getCondVisibility('VideoPlayer.Content(livetv)')):
|
||||||
dialog(type_="notification",
|
dialog(type_="notification",
|
||||||
heading="{emby}",
|
heading="{emby}",
|
||||||
message="%s %s" % (lang(33049), name),
|
message="%s %s" % (lang(33049), name),
|
||||||
|
|
Loading…
Reference in a new issue