Add timeshift protection in mediaplayer plugin