From d23df49576e820c50b5852d94435c2ce16f07e5e Mon Sep 17 00:00:00 2001 From: Akamaru Date: Mon, 24 Nov 2025 19:16:06 +0100 Subject: [PATCH] =?UTF-8?q?Paar=20Fixes=20f=C3=BCr=20getIcon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppStoreUpdateBridge.php | 2 +- HytaleNewsBridge.php | 2 +- TVMazeSeriesBridge.php | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/AppStoreUpdateBridge.php b/AppStoreUpdateBridge.php index c48062c..d0c6136 100644 --- a/AppStoreUpdateBridge.php +++ b/AppStoreUpdateBridge.php @@ -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) diff --git a/HytaleNewsBridge.php b/HytaleNewsBridge.php index d02cf43..3c65a1f 100644 --- a/HytaleNewsBridge.php +++ b/HytaleNewsBridge.php @@ -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() diff --git a/TVMazeSeriesBridge.php b/TVMazeSeriesBridge.php index 1a65f78..960ab6b 100644 --- a/TVMazeSeriesBridge.php +++ b/TVMazeSeriesBridge.php @@ -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'; }