From 2d19cd4d637c6eae9128ba686fc3105725491fd5 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 8 Jan 2019 18:46:45 +0100 Subject: [PATCH] Fix playback not starting up - Fixes #595 --- resources/lib/kodimonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index 8fc2fd37..9eaf5af1 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -509,7 +509,7 @@ def _clean_file_table(): app.APP.monitor.waitForAbort(2) try: with kodi_db.KodiVideoDB() as kodidb_1: - with kodi_db.KodiVideoDB() as kodidb_2: + with kodi_db.KodiVideoDB(lock=False) as kodidb_2: for file_id in kodidb_1.obsolete_file_ids(): LOG.debug('Removing obsolete Kodi file_id %s', file_id) kodidb_2.remove_file(file_id, remove_orphans=False)