Paar Fixes für getIcon
This commit is contained in:
@@ -35,13 +35,6 @@ class TVMazeSeriesBridge extends BridgeAbstract
|
||||
|
||||
public function getIcon()
|
||||
{
|
||||
// Use streaming service favicon if available
|
||||
if (!empty($this->officialSite)) {
|
||||
$host = parse_url($this->officialSite, PHP_URL_HOST);
|
||||
if ($host) {
|
||||
return 'https://www.google.com/s2/favicons?domain=' . $host . '&sz=32';
|
||||
}
|
||||
}
|
||||
return 'https://www.google.com/s2/favicons?domain=www.tvmaze.com&sz=32';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user