From 83f88eef335cd0b0bfc8c6f76c4c097fd5a0fa42 Mon Sep 17 00:00:00 2001
From: angelblue05 <angelblue05@users.noreply.github.com>
Date: Sun, 6 Nov 2016 10:37:03 -0600
Subject: [PATCH] Don't call private function. Use public video_database to get
 the path.

---
 resources/lib/librarysync.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py
index 8735d91d..a71354a6 100644
--- a/resources/lib/librarysync.py
+++ b/resources/lib/librarysync.py
@@ -703,7 +703,7 @@ class LibrarySync(threading.Thread):
 
             if not startupComplete:
                 # Verify the video database can be found
-                videoDb = database.DatabaseConn()._SQL('video')
+                videoDb = database.video_database()
                 if not xbmcvfs.exists(videoDb):
                     # Database does not exists
                     log.error(