Merge pull request #992 from croneter/fix-obsolete

Remove some obsolete code
This commit is contained in:
croneter 2019-09-22 13:11:25 +02:00 committed by GitHub
commit a0c55d5b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,6 @@ class Sync(backgroundthread.KillableThread):
playlist_monitor = None playlist_monitor = None
initial_sync_done = False initial_sync_done = False
last_websocket_processing = 0 last_websocket_processing = 0
one_day_in_seconds = 60 * 60 * 24
# Link to Websocket queue # Link to Websocket queue
queue = app.APP.websocket_queue queue = app.APP.websocket_queue
@ -170,7 +169,6 @@ class Sync(backgroundthread.KillableThread):
return return
if not install_sync_done: if not install_sync_done:
# Very FIRST sync ever upon installation or reset of Kodi DB # Very FIRST sync ever upon installation or reset of Kodi DB
last_time_sync = timing.unix_timestamp()
LOG.info('Initial start-up full sync starting') LOG.info('Initial start-up full sync starting')
xbmc.executebuiltin('InhibitIdleShutdown(true)') xbmc.executebuiltin('InhibitIdleShutdown(true)')
# This call will block until scan is completed # This call will block until scan is completed