Fixed Twitch boxart
This commit is contained in:
parent
9f187891c6
commit
a74b929e6e
|
@ -44,7 +44,7 @@ if($stream["stream"] != null){
|
|||
$txt .= "<b>Live!</b><br><br>";
|
||||
if(!empty($stream["stream"]["game"])){
|
||||
$txt .= "<b>Playing:</b> ".$stream["stream"]["game"]."<br><br>";
|
||||
$boxart = "http://static-cdn.jtvnw.net/ttv-boxart/".$stream["stream"]["game"].".jpg";
|
||||
$boxart = "http://static-cdn.jtvnw.net/ttv-boxart/".$stream["stream"]["game"]."-272x380.jpg";
|
||||
}else{
|
||||
$boxart = "http://i.imgur.com/bwqCxgg.jpg";
|
||||
}
|
||||
|
|
Reference in New Issue