fixing quality changing parameter
changing the place I do the mime type guessing so I can use it for the chromecast