mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Additional logging for the watched status
This in combination with the websocket message should be enough for us to know where the problem lies.
This commit is contained in:
parent
682f9418af
commit
1c5bbe0b71
1 changed files with 2 additions and 0 deletions
|
@ -63,8 +63,10 @@ class WriteKodiVideoDB():
|
|||
watchedurl = "{server}/mediabrowser/Users/{UserId}/PlayedItems/%s" % emby_id
|
||||
if playcount != 0:
|
||||
doUtils.downloadUrl(watchedurl, type = "POST")
|
||||
self.logMsg("Mark as watched for Id: %s, playcount: %s." % (emby_id, playcount), 1)
|
||||
else:
|
||||
doUtils.downloadUrl(watchedurl, type = "DELETE")
|
||||
self.logMsg("Mark as unwatched for Id: %s, playcount: %s." % (emby_id, playcount), 1)
|
||||
# Erase any resume point associated
|
||||
self.setKodiResumePoint(id, 0, 0, cursor)
|
||||
finally:
|
||||
|
|
Loading…
Reference in a new issue