$album) { foreach ($album["tracks"] as $track) { $list[$track]["_albumID"] = $id; } } uasort($list, function ($a, $b) { return strcmp($a["title"], $b["title"]); }); $list = array_filter($list, function ($i) { global $library; return in_array($i["_albumID"], $library); }); } } if (!isset($onlyStella)) $onlyStella = false; if ($onlyStella) { $hasAlbum = false; $list = $songs; foreach ($albums as $id => $album) { foreach ($album["tracks"] as $track) { $list[$track]["_albumID"] = $id; } } uasort($list, function ($a, $b) { return strcmp($a["title"], $b["title"]); }); $list = array_filter($list, function ($i) { return file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/content/" . $i . ".stella"); }, ARRAY_FILTER_USE_KEY); } ?> <?php if (isset($favoritesList) && !$hasAlbum): ?> Favorites <?php elseif ($hasAlbum): ?> <?= $albums[$_GET["a"]]["title"] ?> <?php elseif ($onlyStella): ?> Mist Stella <?php else: ?> Songs <?php endif; ?>
Back
SongsMist Stella

Favorites

Click on the heart icon near a song to add it to this list.
.jpg" style="height: 20vw; width: 20vw; border-radius: .75vw;">

0): ?> · Hi-Res Lossless ·

Add music to your library

Browse millions of songs and collect your favorites here.

Browse Mist

Remove from library