From 41c51b8bdb9c8e9fa4a7d56f260d594739d4107e Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Mon, 30 Oct 2023 23:08:45 +0100 Subject: Updated 35 files and added 28 files (automated) --- app/ui/albums.php | 20 +++- app/ui/download.php | 5 + app/ui/explore.php | 18 +++- app/ui/info.php | 58 ++++++++++- app/ui/library.php | 46 +++++++++ app/ui/listing.php | 244 +++++++++++++++++++++++++++-------------------- app/ui/lyrics.php | 4 +- app/ui/modal.php | 29 ++++++ app/ui/navigation.php | 9 +- app/ui/player-mobile.php | 60 ++++++++++-- app/ui/player.php | 99 +++++++++++++++++-- app/ui/queue.php | 4 +- app/ui/search.php | 13 ++- app/ui/settings.php | 50 +++++++++- app/ui/update.php | 26 +---- app/ui/welcome-dp.php | 59 ++++++++++++ 16 files changed, 576 insertions(+), 168 deletions(-) create mode 100644 app/ui/library.php create mode 100644 app/ui/welcome-dp.php (limited to 'app/ui') diff --git a/app/ui/albums.php b/app/ui/albums.php index e383f81..1ee5822 100644 --- a/app/ui/albums.php +++ b/app/ui/albums.php @@ -11,7 +11,7 @@ - albums + Albums @@ -21,11 +21,21 @@ - + +
+
+
+ Back +
+
Albums
+
+ +
+
+

-

Albums

i.title.toLowerCase().replace(/[^a-z\d ]/mg, " ").replace(/ +/mg, " ").includes(query.toLowerCase().replace(/[^a-z\d ]/mg, " ").replace(/ +/mg, " ")) || i.artist.toLowerCase().replace(/[^a-z\d ]/mg, " ").replace(/ +/mg, " ").includes(query.toLowerCase().replace(/[^a-z\d ]/mg, " ").replace(/ +/mg, " "))); document.getElementById("search-results").innerHTML = ""; for (let result of results) { - document.getElementById("search-results").innerHTML += document.getElementById(result.item.id).outerHTML; + document.getElementById("search-results").innerHTML += document.getElementById(result.id).outerHTML; } } else { document.getElementById("search-results").style.display = "none"; diff --git a/app/ui/download.php b/app/ui/download.php index 13f76b0..dad8eef 100644 --- a/app/ui/download.php +++ b/app/ui/download.php @@ -58,6 +58,11 @@ function getSize($bytes) {
diff --git a/app/ui/explore.php b/app/ui/explore.php index 7edfdf1..c93beff 100644 --- a/app/ui/explore.php +++ b/app/ui/explore.php @@ -11,7 +11,7 @@ - explore + Explore @@ -21,13 +21,23 @@ - + +
+
+
+ Back +
+
Explore
+
+ +
+
+

-

Explore

-
+
diff --git a/app/ui/info.php b/app/ui/info.php index fd4fad5..d21e431 100644 --- a/app/ui/info.php +++ b/app/ui/info.php @@ -1,4 +1,4 @@ - Mist Stella - No + + + + Yes (#, Version ) + + No + + Copyright @@ -172,7 +187,20 @@ function getChannelConfiguration($c) { 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;">
\ No newline at end of file diff --git a/app/ui/library.php b/app/ui/library.php new file mode 100644 index 0000000..c6b5658 --- /dev/null +++ b/app/ui/library.php @@ -0,0 +1,46 @@ + + + + + + + + + Library + + + + + + + + + + + + + + +

+ + \ No newline at end of file diff --git a/app/ui/listing.php b/app/ui/listing.php index 9ad227f..d32525b 100644 --- a/app/ui/listing.php +++ b/app/ui/listing.php @@ -50,7 +50,15 @@ if (!$presetList) { - listing + + <?php if (isset($favoritesList) && !$hasAlbum): ?> + Favorites + <?php elseif ($hasAlbum): ?> + <?= $albums[$_GET["a"]]["title"] ?> + <?php else: ?> + Songs + <?php endif; ?> + @@ -60,130 +68,156 @@ if (!$presetList) { - + +
+
+
+ Back +
+
Songs
+ +
+ +
+ +
+
-
-
-
- -

Songs

- -
- -
-

Favorites

-

-
- Click on the heart icon near a song to add it to this list. -
-
-
- " onclick="window.parent.playSong('', 'favorites');" style="width: 100px;">Play - " style="width: 100px;" onclick="window.parent.shuffleList('favorites');">Shuffle - +
+
+ +
+ + - -
- .jpg" style="height: 20vw; width: 20vw; border-radius: .75vw;"> -
-

-

-
+
+ +
+ .jpg" style="height: 20vw; width: 20vw; border-radius: .75vw;"> +
+

+

+
+ 0): ?> - - · Hi-Res Lossless - -
-
-
class="nolibrary"> - - ');" style="width: 100px;">Play - ');">Shuffle - - Add to library - + · + + Hi-Res Lossless + · + + Mist Stella +
-
- - - - -
-
- -

Add music to your library

-

Browse millions of songs and collect your favorites here.

-
Browse Mist
+
- - -
- - +
+ + + + +
+
+ +

Add music to your library

+

Browse millions of songs and collect your favorites here.

+
Browse Mist
+
+
+ +
+ +
- + } + -

-
+

\ No newline at end of file diff --git a/app/ui/lyrics.php b/app/ui/lyrics.php index bd24832..8f50931 100644 --- a/app/ui/lyrics.php +++ b/app/ui/lyrics.php @@ -43,7 +43,7 @@ } - +
@@ -112,6 +112,7 @@ document.getElementById("loading").style.display = "none"; document.getElementById("not-playing").style.display = "none"; + document.getElementById("lyrics-synced").style.top = "0px"; document.getElementById("lyrics-synced").innerHTML = "
" + window.lyrics[lastID].payload.map(i => `
${i.words}
`).join("") + "
"; @@ -123,6 +124,7 @@ document.getElementById("loading").style.display = "none"; document.getElementById("not-playing").style.display = "none"; + document.getElementById("lyrics-unsynced").scrollTop = false; document.getElementById("lyrics-unsynced").innerText = window.lyrics[lastID].payload.replaceAll("\n\n\n", "\n"); } } else { diff --git a/app/ui/modal.php b/app/ui/modal.php index b8f1cfb..ec3e663 100644 --- a/app/ui/modal.php +++ b/app/ui/modal.php @@ -45,5 +45,34 @@ window.parent.document.getElementById("modal").style.display = "none"; }); + + + + \ No newline at end of file diff --git a/app/ui/navigation.php b/app/ui/navigation.php index 9344791..dacaa94 100644 --- a/app/ui/navigation.php +++ b/app/ui/navigation.php @@ -39,13 +39,16 @@ -