Check all Kodi database versions before starting PKC
This commit is contained in:
parent
7297267613
commit
1136178381
1 changed files with 4 additions and 1 deletions
|
@ -1491,7 +1491,10 @@ class LibrarySync(Thread):
|
|||
# Link to Websocket queue
|
||||
queue = state.WEBSOCKET_QUEUE
|
||||
|
||||
if not exists(try_encode(v.DB_VIDEO_PATH)):
|
||||
if (not exists(try_encode(v.DB_VIDEO_PATH)) or
|
||||
not exists(try_encode(v.DB_TEXTURE_PATH)) or
|
||||
(state.ENABLE_MUSIC and
|
||||
not exists(try_encode(v.DB_MUSIC_PATH)))):
|
||||
# Database does not exists
|
||||
LOG.error("The current Kodi version is incompatible "
|
||||
"to know which Kodi versions are supported.")
|
||||
|
|
Loading…
Reference in a new issue