@classmethod
    def fromguess(cls, name, guess):
        if guess['type'] == 'episode':
            return Episode.fromguess(name, guess)

        if guess['type'] == 'movie':
            return Movie.fromguess(name, guess)

        raise ValueError('The guess must be an episode or a movie guess')
Create an :class:`Episode` or a :class:`Movie` with the given `name` based on the `guess`.
dataset/ETHPy150Open Diaoul/subliminal/subliminal/video.py/Video.fromguess