Save NaN and not 0 to Kodi DB if playcount is zero
This commit is contained in:
parent
6fcbf29779
commit
ea57eb5f93
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def _record_playstate(status, ended):
|
||||||
LOG.debug('Ignoring playback less than %s seconds',
|
LOG.debug('Ignoring playback less than %s seconds',
|
||||||
v.IGNORE_SECONDS_AT_START)
|
v.IGNORE_SECONDS_AT_START)
|
||||||
# Annoying Plex bug - it'll reset an already watched video to unwatched
|
# Annoying Plex bug - it'll reset an already watched video to unwatched
|
||||||
playcount = 0
|
playcount = None
|
||||||
last_played = None
|
last_played = None
|
||||||
time = 0
|
time = 0
|
||||||
elif progress >= v.MARK_PLAYED_AT:
|
elif progress >= v.MARK_PLAYED_AT:
|
||||||
|
|
Loading…
Reference in a new issue