Fix AttributeError
This commit is contained in:
parent
fada7f707f
commit
a8fbcc6be4
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ def _record_playstate(status, ended):
|
|||
LOG.debug('Playback progress %s (%s of %s seconds)',
|
||||
progress, time, totaltime)
|
||||
playcount = status['playcount']
|
||||
last_played = timing.now()
|
||||
last_played = timing.kodi_now()
|
||||
if playcount is None:
|
||||
LOG.debug('playcount not found, looking it up in the Kodi DB')
|
||||
with kodi_db.KodiVideoDB() as kodidb:
|
||||
|
|
Loading…
Reference in a new issue