Many times it Mediacompanion can't identify the right movie. It's probably because of the folder filenames. They include dvdrip and dots and more. But XBMCs scraper handles this beautifully.
So there must be something that you can implement in your program.