NzbDrone/NzbDrone — pull request #109 by markus101 (2014-09-05 02:39:49+00:00)
Title: Reals, propers and v2/3/4 (anime) releases

This PR adds support for anime version releases as well as REAL releases: https://trello.com/c/7BKdI8dO/554-real-releases-should-replace-existing-episodes-of-the-same-quality

I still have to test it to make sure it works, but I wanted to get feedback on the approach. I chose Reality as the value for real count because it can easily be replaced without other comments/properties being changed, but I'm not in love with it. I chose to use numbers to hold the value because there can be multiple reals in a file (plus it doesn't lock us to a boolean) and for proper because anime's propers use an increasing count, where v1 is the inital release and a "proper" is v2, a proper of a proper is v3.

Needs work:
- Some tests are needed to make sure a real + proper is considered better than a real and a real is better than a proper
- Migrating QualityModel from the existing format to the new format

Known issues:
- series with proper in the title will be considered proper (currently an issue)
- series with real in the title will be considered real (same issue as proper in the title)