'Return The quality from an episode File renamed by SiCKRAGE
If no quality is achieved it will try sceneQuality regex
:param anime: Boolean to indicate if the show we\'re resolving is Anime
:return: Quality prefix'

@staticmethod
def nameQuality(name, anime=False):

    quality = Quality.sceneQuality(name, anime)
    if (quality != Quality.UNKNOWN):
        return quality
    quality = Quality.qualityFromFileMeta(name)
    if (quality != Quality.UNKNOWN):
        return quality
    if name.lower().endswith(u'.ts'):
        return Quality.RAWHDTV
    return Quality.UNKNOWN
