", ":", "\"", "\\", "|", "?", "*"], "-", $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";
}
?>
download
= $song["artist"] ?> — = $song["title"] ?>
= $song["album"] ?>
Select the version of the song you would like to download:
- Lossless (FLAC, = getSize(filesize($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $_GET["i"] . ".flac")) ?>).flac">Download
- AAC-LC (MP4, = getSize(filesize($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $_GET["i"] . ".m4a")) ?>).m4a">Download
- Mist Stella (= getSize(filesize($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $_GET["i"] . ".stella")) ?>).stella">Download
- Mist Stella (not available)
- Album art (JPEG, = getSize(filesize($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $_GET["i"] . ".jpg")) ?>).jpg">Download