Dashboard Live

This commit is contained in:
Gogs
2026-07-09 15:26:41 +02:00
parent 574b344d1e
commit 558bd4ff6f
3 changed files with 113 additions and 2 deletions
+8
View File
@@ -25,6 +25,14 @@ $items = $service->getCurrentProgrammes($data, $config);
$now = new DateTimeImmutable('now', new DateTimeZone($timezone));
require_once '/var/www/src/Services/LogoService.php';
foreach ($items as &$item) {
$item['logo_url'] = LogoService::getLogoUrl($item['channel_id']);
}
unset($item);
ApiResponse::json([
'ok' => true,
'timestamp' => $now->getTimestamp(),