Do NOT delete playstates before getting new ones from the PMS
This commit is contained in:
parent
97a78eb403
commit
f481bd2980
2 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue