public function getShowInfo($id)
    {
        $showInfo = array();

        $crawler = $this->request('GET', $this->baseUrl . '/title/' . $id . '/');
        $showInfo['title'] = $crawler->filterXPath('//h1/span[@itemprop="name"]')->text();

        $nextEpisode = $crawler->filterXPath('//div[@class="next-episode"]/div');
        if (count($nextEpisode) && preg_match('/S(?P<season>[0-9]+), Ep(?P<episode>[0-9]+)/', $nextEpisode->text(), $match)) {
            $showInfo['latestSeason'] = $match['season'];
            $showInfo['latestEpisode'] = $match['episode'];
        } else {
            $showInfo['latestSeason'] = $crawler->filterXPath('//div[@id="titleTVSeries"]//h4[text()="Season:"]/../span[1]/a[1]')->text();
            $today = time(0, 0, 0);
            do {
                $seasonEpisodes = $this->getSeasonEpisodes($id, $showInfo['latestSeason']);
                $currentEpisodes = array_filter($seasonEpisodes, function($episode) use ($today) {
                    return strtotime($episode['airdate']) < $today;
                });
                if ($currentEpisodes) {
                    $showInfo['latestEpisode'] = max(array_keys($currentEpisodes));
                    break;
                } elseif ($showInfo['latestSeason'] > 1) {
                    $showInfo['latestSeason']--;
                } else {
                    $showInfo['latestEpisode'] = 1;
                }
            } while ($showInfo['latestSeason'] >= 1);
        }

        return $showInfo;
    }