mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-25 01:11:39 +00:00
Make log levels more appropriate and change warn to warnings
This commit is contained in:
parent
4c3732c517
commit
7bffbc98b5
12 changed files with 36 additions and 36 deletions
|
@ -68,13 +68,13 @@ class ServiceManager(threading.Thread):
|
|||
|
||||
if __name__ == "__main__":
|
||||
|
||||
LOG.warn("-->[ service ]")
|
||||
LOG.warn("Delay startup by %s seconds.", DELAY)
|
||||
LOG.info("-->[ service ]")
|
||||
LOG.info("Delay startup by %s seconds.", DELAY)
|
||||
|
||||
while True:
|
||||
|
||||
if not settings('enableAddon.bool'):
|
||||
LOG.warn("Jellyfin for Kodi is not enabled.")
|
||||
LOG.warning("Jellyfin for Kodi is not enabled.")
|
||||
|
||||
break
|
||||
|
||||
|
@ -93,4 +93,4 @@ if __name__ == "__main__":
|
|||
|
||||
break
|
||||
|
||||
LOG.warn("--<[ service ]")
|
||||
LOG.info("--<[ service ]")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue