From a8fbcc6be46e91ae66588833a4c7825db2dc091c Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 26 Nov 2018 07:50:38 +0100 Subject: [PATCH] Fix AttributeError --- resources/lib/kodimonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/kodimonitor.py b/resources/lib/kodimonitor.py index f273b4d0..0ef140ac 100644 --- a/resources/lib/kodimonitor.py +++ b/resources/lib/kodimonitor.py @@ -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: