fixed manual mark watched

This commit is contained in:
Marcel van der Veldt 2015-05-02 15:59:48 +02:00
parent a05bdeb844
commit d489375ab2

View file

@ -39,12 +39,11 @@ class WriteKodiDB():
addon = xbmcaddon.Addon(id='plugin.video.emby')
downloadUtils = DownloadUtils()
#FIXME --> This is no longer working ??!!
watchedurl = "{server}/mediabrowser/Users/{UserId}/PlayedItems/%s" % emby_id
utils.logMsg("Emby","watchedurl -->" + watchedurl)
if playcount != 0:
downloadUtils.downloadUrl(watchedurl, postBody="", type="POST")
downloadUtils.downloadUrl(watchedurl, type="POST")
else:
downloadUtils.downloadUrl(watchedurl, type="DELETE")