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/.DS_Store | Bin 6148 -> 6148 bytes app/index.php | 538 +++++++++++++++++++++++++++++++++++++-------- app/notes/update-0.3.0.php | 26 +++ app/notes/update-0.4.0.php | 26 +++ app/notes/update-1.0.0.php | 12 + 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 +++++ 21 files changed, 1082 insertions(+), 264 deletions(-) create mode 100644 app/notes/update-0.3.0.php create mode 100644 app/notes/update-0.4.0.php create mode 100644 app/notes/update-1.0.0.php create mode 100644 app/ui/library.php create mode 100644 app/ui/welcome-dp.php (limited to 'app') diff --git a/app/.DS_Store b/app/.DS_Store index 1848aaa..3c6d6b1 100644 Binary files a/app/.DS_Store and b/app/.DS_Store differ diff --git a/app/index.php b/app/index.php index 3dc4b44..6989866 100644 --- a/app/index.php +++ b/app/index.php @@ -15,6 +15,9 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI + + + @@ -30,10 +33,16 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI } -class="web"> +class="web"class="native">
- Initializing... + Mist + +
+ + @@ -52,12 +69,42 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI +
+ + - - + +
+
+
+ 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 @@ -