private function calculateInterval($episode)
    {
        $max_image = floor(65500/$this->sprite_height);
        $calculated_interval = ceil($episode->getDuration()/$max_image);
        if ($calculated_interval > $this->sprite_interval) {
            $this->sprite_interval = $calculated_interval;
        }
    }