XEM Support
Ported from: https://github.com/nickbock/Sick-Beard