From ae187b6d75c8079da0be1dc288613bad8466fe61 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 24 Oct 2023 17:43:37 +0200 Subject: Initial commit --- app/albums.php | 104 ++++++++++ app/explore.php | 118 +++++++++++ app/favorites.php | 14 ++ app/index.php | 551 ++++++++++++++++++++++++++++++++++++++++++++++++++ app/listing.php | 213 +++++++++++++++++++ app/lyrics.php | 158 +++++++++++++++ app/navigation.php | 66 ++++++ app/player-mobile.php | 79 ++++++++ app/player.php | 76 +++++++ app/settings.php | 68 +++++++ app/songs.php | 4 + 11 files changed, 1451 insertions(+) create mode 100644 app/albums.php create mode 100644 app/explore.php create mode 100644 app/favorites.php create mode 100644 app/index.php create mode 100644 app/listing.php create mode 100644 app/lyrics.php create mode 100644 app/navigation.php create mode 100644 app/player-mobile.php create mode 100644 app/player.php create mode 100644 app/settings.php create mode 100644 app/songs.php (limited to 'app') diff --git a/app/albums.php b/app/albums.php new file mode 100644 index 0000000..a5fcfe5 --- /dev/null +++ b/app/albums.php @@ -0,0 +1,104 @@ + + + + + + + + albums + + + + + + + + + + + +
+
+

Albums

+ + +
+
+ +

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/explore.php b/app/explore.php new file mode 100644 index 0000000..a51731b --- /dev/null +++ b/app/explore.php @@ -0,0 +1,118 @@ + + + + + + + + explore + + + + + + + + + + + +
+
+

Explore

+ + + + +
+ + + +

+ + \ No newline at end of file diff --git a/app/favorites.php b/app/favorites.php new file mode 100644 index 0000000..9690523 --- /dev/null +++ b/app/favorites.php @@ -0,0 +1,14 @@ + + + + + + + + Mist + + + + + + + + + + + + + + + + + + +
+ Initializing... +
+ + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/app/listing.php b/app/listing.php new file mode 100644 index 0000000..8ea25d4 --- /dev/null +++ b/app/listing.php @@ -0,0 +1,213 @@ + $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); + }); + } +} + +?> + + + + + + + listing + + + + + + + + + + + + + + +
+
+
+ +

Songs

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

+

+
+ + + · Hi-Res Lossless + +
+
+ +
+
+ + + + +
+
+ +

Add music to your library

+

Browse millions of songs and collect your favorites here.

+
Browse Mist
+
+
+ + +
+
Remove from library
+ +
+ + + +

+
+ + \ No newline at end of file diff --git a/app/lyrics.php b/app/lyrics.php new file mode 100644 index 0000000..fbdca1d --- /dev/null +++ b/app/lyrics.php @@ -0,0 +1,158 @@ + + + + + + + + lyrics + + + + + + + + + + + +
+
+ Lyrics will appear here when you start playing a song. If supported, they will also scroll as the song plays. +
+ + + + + + + + +
+ + + + \ No newline at end of file diff --git a/app/navigation.php b/app/navigation.php new file mode 100644 index 0000000..f07c38f --- /dev/null +++ b/app/navigation.php @@ -0,0 +1,66 @@ + + + + + + + + navigation + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/player-mobile.php b/app/player-mobile.php new file mode 100644 index 0000000..cab8ada --- /dev/null +++ b/app/player-mobile.php @@ -0,0 +1,79 @@ + + + + + + + + player-mobile + + + + + + + + +
+
+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + +
+
+ +
+
Title
+
Artist — Album
+
+ 0:00 + -0:00 +
+
+
+
+
+
+
+ + + + Lossless + + + + + Hi-Res Lossless + + +
+
+
+ + \ No newline at end of file diff --git a/app/player.php b/app/player.php new file mode 100644 index 0000000..e2334ce --- /dev/null +++ b/app/player.php @@ -0,0 +1,76 @@ + + + + + + + + player + + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + +
+
+ +
+ +
+ +
+
+
+
+ + + +
+
+
+ + \ No newline at end of file diff --git a/app/settings.php b/app/settings.php new file mode 100644 index 0000000..4c2a287 --- /dev/null +++ b/app/settings.php @@ -0,0 +1,68 @@ + + + + + + + + settings + + + + + + + + + + + +
+
+

Settings

+
+
+ + +
Data saving disables playing lossless and high-resolution audio. Instead, you will get 256 kbps AAC-encoded audio, which is high efficient. If you use Bluetooth headphones, the difference should be unnoticeable.
+
+ + + +
+ + +
If this is enabled, a desktop notification will be shown when the song being played changes, containing information about the new song. This requires having notifications enabled in your system settings.
+
+ + + +
+ + About Mist + +
+ + Mist version (build ) · © Equestria.dev +
+ +
+ + \ No newline at end of file diff --git a/app/songs.php b/app/songs.php new file mode 100644 index 0000000..086df66 --- /dev/null +++ b/app/songs.php @@ -0,0 +1,4 @@ +