<?php
require_once __DIR__ . '/includes/stream_lib.php';

$track = trim((string)smurf_get_nowplaying_title());
if ($track === '') {
    $track = 'Loading...';
}

echo "<span id='track-text'>" . htmlspecialchars($track, ENT_QUOTES, 'UTF-8') . "</span>";
