<?php
require_once __DIR__ . '/stream_lib.php';
if (!function_exists('ugfx_fetch_nowplaying_title')) {
function ugfx_fetch_nowplaying_title(): string {
    $status = ugfx_stream_status();
    return trim((string)($status['title'] ?? 'Underground FX Live'));
}
}
