From 0f289393c12ce50827df7e83423b4bc29b5d0393 Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 11 Jan 2019 21:41:11 +0100 Subject: [PATCH] Fix rare OperationalError: Locked Database - Partially fixes #593 --- resources/lib/kodi_db/video.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/kodi_db/video.py b/resources/lib/kodi_db/video.py index fe74cd8d..d10a3a69 100644 --- a/resources/lib/kodi_db/video.py +++ b/resources/lib/kodi_db/video.py @@ -593,6 +593,7 @@ class KodiVideoDB(common.KodiDBBase): except TypeError: pass + @common.catch_operationalerrors def set_resume(self, file_id, resume_seconds, total_seconds, playcount, dateplayed, plex_type): """