mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
dont throw if delay interupted, it is a normal occurance
This commit is contained in:
parent
ce46fb7015
commit
dee8128131
1 changed files with 6 additions and 2 deletions
|
@ -37,10 +37,14 @@ if __name__ == "__main__":
|
||||||
service = Service()
|
service = Service()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
abort = False
|
||||||
if DELAY and xbmc.Monitor().waitForAbort(DELAY):
|
if DELAY and xbmc.Monitor().waitForAbort(DELAY):
|
||||||
raise RuntimeError("Abort event while waiting to start Emby for kodi")
|
log.info("Abort event while waiting to start Emby for kodi")
|
||||||
|
abort = True
|
||||||
# Start the service
|
# Start the service
|
||||||
service.service_entry_point()
|
if abort == False:
|
||||||
|
service.service_entry_point()
|
||||||
|
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
if not (hasattr(error, 'quiet') and error.quiet):
|
if not (hasattr(error, 'quiet') and error.quiet):
|
||||||
ga = GoogleAnalytics()
|
ga = GoogleAnalytics()
|
||||||
|
|
Loading…
Reference in a new issue