mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-17 23:05:10 +00:00
Review server offline
Add settings to disable offline server message
This commit is contained in:
parent
feda0cb9df
commit
e19e90e703
4 changed files with 12 additions and 5 deletions
11
service.py
11
service.py
|
@ -227,11 +227,12 @@ class Service(object):
|
|||
log.info("Server is offline.")
|
||||
window('emby_online', value="false")
|
||||
|
||||
xbmcgui.Dialog().notification(
|
||||
heading=lang(33001),
|
||||
message="%s %s" % (self.addonName, lang(33002)),
|
||||
icon="special://home/addons/plugin.video.emby/icon.png",
|
||||
sound=False)
|
||||
if settings('offlineMsg') == "true":
|
||||
xbmcgui.Dialog().notification(
|
||||
heading=lang(33001),
|
||||
message="%s %s" % (self.addonName, lang(33002)),
|
||||
icon="special://home/addons/plugin.video.emby/icon.png",
|
||||
sound=False)
|
||||
|
||||
self.server_online = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue