From: Daniel Karbach Date: Sat, 17 Jan 2026 22:06:48 +0000 (+0100) Subject: move static gmt episode props to init X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=e3c7b6f2be27eb77b2b48c17b58e403e679c6838;p=alttp.git move static gmt episode props to init --- diff --git a/app/Console/Commands/SyncGMT.php b/app/Console/Commands/SyncGMT.php index 220d737..8f86897 100644 --- a/app/Console/Commands/SyncGMT.php +++ b/app/Console/Commands/SyncGMT.php @@ -86,6 +86,8 @@ class SyncGMT extends Command { if (!$episode) { $episode = new Episode(); $episode->ext_id = $ext_id; + $episode->estimate = 90 * 60; + $episode->confirmed = true; } $episode->event()->associate($event); $episode->title = $row[1].' vs '.$row[2]; @@ -112,8 +114,6 @@ class SyncGMT extends Command { $episode->comment .= ", don't restream"; } } - $episode->estimate = 90 * 60; - $episode->confirmed = true; $episode->save(); $this->syncPlayer($episode, $row[1]); $this->syncPlayer($episode, $row[2]);