Revert 'Making changes to get media info from  GetMediaInfo instead of GetPosition'