add ReadMediaInfo and pasing logic