@classmethod
def mal_to_enum(cls, text):
    """Return the enum from the MAL string, or None."""
    return {'tv': cls.tv, 'movie': cls.film, 'ova': cls.ova, 'special': cls
        .special, 'ona': cls.ona, 'music': cls.music}.get(text.lower().strip())
