verifymedia: add makemediainfo function and add to check
verifymedia: remove trailing space
verifymedia: test for scan type