Do NOT delete playstates before getting new ones from the PMS

This commit is contained in:
croneter 2018-04-02 18:32:52 +02:00
parent 97a78eb403
commit f481bd2980
2 changed files with 0 additions and 8 deletions

View file

@ -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

View file

@ -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,