From 90e0d999150ba3eee7f23af7b82ab9280a193d08 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Sun, 23 Apr 2023 22:22:15 +0200 Subject: [PATCH] exclude "Undecided" channel from SG sync --- app/Console/Commands/SyncSpeedGaming.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncSpeedGaming.php b/app/Console/Commands/SyncSpeedGaming.php index 610968e..43afaa1 100644 --- a/app/Console/Commands/SyncSpeedGaming.php +++ b/app/Console/Commands/SyncSpeedGaming.php @@ -125,7 +125,7 @@ class SyncSpeedGaming extends Command { $this->purgeChannels($episode, $sgEntry); $channelIds = []; foreach ($sgEntry['channels'] as $sgChannel) { - if ($sgChannel['initials'] == 'NONE') continue; + if ($sgChannel['initials'] == 'NONE' || $sgChannel['name'] == 'Undecided, Not SG') continue; try { $channel = $this->syncChannel($episode, $sgChannel); $channelIds[] = $channel->id; -- 2.39.2