Updated dometadata() to handle movied