+ if (preg_match('/^(.*) - (.*?) vs\.? (.*?)$/u', $episode->title, $matches)) {
+ $episode->title = $matches[1];
+ $episode->save();
+ $this->syncPlayer($episode, $matches[2]);
+ $this->syncPlayer($episode, $matches[3]);
+ } else {
+ $episode->save();
+ }
+ if (preg_match('/Restream: https?:\/\/(www\.)?twitch\.tv\/(\w+)/u', $entry['description'], $matches)) {
+ $channel = $this->syncChannel($episode, $matches[2]);
+ if ($channel) {
+ $episode->channels()->syncWithoutDetaching([$channel->id]);
+ }
+ }