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

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