1
0

Paar Fixes für getIcon

This commit is contained in:
Akamaru
2025-11-24 19:16:06 +01:00
parent 86ef0c8f83
commit d23df49576
3 changed files with 2 additions and 9 deletions

View File

@@ -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)

View File

@@ -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()

View File

@@ -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';
}