From: Daniel Karbach Date: Wed, 29 May 2024 09:13:32 +0000 (+0200) Subject: use slug for SG twitch channels X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=ee18df826f15227777b390f4fceabd0067575430;p=alttp.git use slug for SG twitch channels this should fix SGFR --- diff --git a/app/Console/Commands/SyncSpeedGaming.php b/app/Console/Commands/SyncSpeedGaming.php index 41286ce..1b4c80e 100644 --- a/app/Console/Commands/SyncSpeedGaming.php +++ b/app/Console/Commands/SyncSpeedGaming.php @@ -207,7 +207,7 @@ class SyncSpeedGaming extends Command { } $channel->short_name = $sgChannel['initials']; $channel->title = $sgChannel['name']; - $channel->stream_link = 'https://twitch.tv/'.strtolower($sgChannel['name']); + $channel->stream_link = 'https://twitch.tv/'.strtolower($sgChannel['slug']); $channel->languages = [$sgChannel['language']]; $channel->save(); return $channel;