update the metadata when pulling from history. Get the items metadata instead of just the history attributes
This commit is contained in:
parent
ebfbc51f72
commit
06589274bf
@ -461,6 +461,8 @@ def watched_work(user, sectionID=None, ratingKey=None):
|
|||||||
if user.watch.get(metadata.rating_key):
|
if user.watch.get(metadata.rating_key):
|
||||||
user.watch.get(metadata.rating_key).watched_status += 1
|
user.watch.get(metadata.rating_key).watched_status += 1
|
||||||
else:
|
else:
|
||||||
|
_meta = tautulli_server.get_metadata(metadata.rating_key)
|
||||||
|
metadata = Metadata(_meta)
|
||||||
user.watch.update({metadata.rating_key: metadata})
|
user.watch.update({metadata.rating_key: metadata})
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user