diff --git a/resources/lib/kodidb_functions.py b/resources/lib/kodidb_functions.py index 7ed8d678..e53a41f1 100644 --- a/resources/lib/kodidb_functions.py +++ b/resources/lib/kodidb_functions.py @@ -689,12 +689,6 @@ class KodiDBMethods(object): resume = None return resume - def delete_all_playstates(self): - """ - Entirely resets the table bookmark and thus all resume points - """ - self.cursor.execute("DELETE FROM bookmark") - def get_playcount(self, file_id): """ Returns the playcount for the item file_id or None if not found diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 6bfb196f..a5cfc91c 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -251,8 +251,6 @@ class LibrarySync(Thread): with kodidb.GetKodiDB('video') as kodi_db: # Setup the paths for addon-paths (even when using direct paths) kodi_db.setup_path_table() - # Delete all resume points because we'll get new ones - kodi_db.delete_all_playstates() process = { 'movies': self.PlexMovies,