I think it's of no use to implement such a feature only inside a plugin - mediaportal itself has to provide that functionallity - as well as serverside multi-user handling (user A has already seen a movie - so watched flag is set, whereas user B hasn't etc.).