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

This reverts commit cd4b23aaddd3f878e6feb1d6a8f38018fd80c291.