", ":", "\"", "\\", "|", "?", "*"], "-", $song["artist"] . " - " . $song["title"]); function getSize($bytes) { if ($bytes < 1024) { return $bytes; } if ($bytes < 1024**2) { return round($bytes / 1024, 1) . " KB"; } if ($bytes < 1024**3) { return round($bytes / 1024**2, 1) . " MB"; } return round($bytes / 1024**3, 1) . " GB"; } function timeToDuration($seconds) { $hours = floor($seconds / 3600); $minutes = floor($seconds / 60) - ($hours * 60); $seconds = floor($seconds) - ($hours * 3600) - ($minutes * 60); $parts = []; if ($hours > 0) $parts[] = $hours . " hour" . ($hours > 1 ? "s" : ""); if ($minutes > 0) $parts[] = $minutes . " minute" . ($minutes > 1 ? "s" : ""); if ($seconds > 0) $parts[] = $seconds . " second" . ($seconds > 1 ? "s" : ""); return implode(", ", $parts); } function getBitRate($bits) { $bitsValue = $bits . " bps"; if ($bits > 1000) { if ($bits > 1000000) { if ($bits > 1000000000) { $bitsValue = round($bits / 1000000000, 2) . " Gbps"; } else { $bitsValue = round($bits / 1000000, 2) . " Mbps"; } } else { $bitsValue = round($bits / 1000, 2) . " kbps"; } } $bytesValue = ($bits / 8) . " B/s"; if (($bits / 8) > 1000) { if (($bits / 8) > 1000000) { if (($bits / 8) > 1000000000) { $bytesValue = round(($bits / 8) / 1000000000, 2) . " GB/s"; } else { $bytesValue = round(($bits / 8) / 1000000, 2) . " MB/s"; } } else { $bytesValue = round(($bits / 8) / 1000, 2) . " kB/s"; } } return $bitsValue . " (" . $bytesValue . ")"; } function getChannelConfiguration($c) { if ($c === 1) return " (Mono)"; if ($c === 2) return " (Stereo)"; if ($c === 3) return " (Stereo+1)"; if ($c === 4) return " (3.1)"; if ($c === 5) return " (4.1 or 5.0 Surround)"; if ($c === 6) return " (5.1 Surround)"; if ($c === 7) return " (6.1 or 7.0 Surround)"; if ($c === 8) return " (7.1 Surround)"; if ($c === 9) return " (9.0 or 7.2 Spatial Audio)"; if ($c === 10) return " (9.1 Spatial Audio)"; if ($c >= 11) return " (Dolby Atmos)"; return ""; } ?> info
.jpg" style="aspect-ratio: 1; width: 96px;">

Track Disc , track 0 ? $song["track"] : "-" ?>
Duration
Bit rate
Sample rate Hz
Bits per sample bits
Channels
Year
High-resolution
Mist Stella Yes (#, Version ) No
Copyright
File size (lossless)
File size (AAC-LC)
File size (Stella) -

favoriteSong('');" id="btn-favorite-">.svg" style="pointer-events: none; filter: invert(1); width: 24px; height: 24px; margin-right: 5px;"> Close