Paar Fixes für getIcon
This commit is contained in:
@@ -127,7 +127,7 @@ class AppStoreUpdateBridge extends BridgeAbstract
|
||||
if ($appData && isset($appData['artworkUrl100'])) {
|
||||
return $appData['artworkUrl100'];
|
||||
}
|
||||
return 'https://www.apple.com/favicon.ico';
|
||||
return 'https://www.google.com/s2/favicons?domain=apple.com&sz=32';
|
||||
}
|
||||
|
||||
public function detectParameters($url)
|
||||
|
||||
@@ -22,7 +22,7 @@ class HytaleNewsBridge extends BridgeAbstract
|
||||
|
||||
public function getIcon()
|
||||
{
|
||||
return 'https://hytale.com/favicon.ico';
|
||||
return 'https://www.google.com/s2/favicons?domain=hytale.com&sz=32';
|
||||
}
|
||||
|
||||
public function collectData()
|
||||
|
||||
@@ -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