diff --git a/generate_miniplayer.php b/generate_miniplayer.php index fefce8e..92c9f73 100644 --- a/generate_miniplayer.php +++ b/generate_miniplayer.php @@ -110,7 +110,7 @@ class="text-white/50 hover:text-white transition h-6 w-6" -
+
-
+
@@ -131,6 +131,8 @@ class="bg-[#15883D] py-2 px-3 rounded-r-lg"
+ 550 x 130 +
diff --git a/miniplayer.php b/miniplayer.php index 943ae25..9d38e16 100644 --- a/miniplayer.php +++ b/miniplayer.php @@ -64,7 +64,7 @@ class="h-screen w-screen" @@ -88,7 +88,7 @@ class="absolute bottom-[10%] right-[10%] z-30 p-3 bg-black/20 border-2 border-wh class="text-3xl font-bold" :class="{ 'line-clamp-1': showAlbum, - 'line-clamp-2': !showAlbum, + 'line-clamp-2': !showAlbum || !$store.player.playbackObj.item?.name, }" > diff --git a/readme.md b/readme.md index 5d48f23..d39e319 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,9 @@ Available at [nowplayi.ng](https://nowplayi.ng) ![Website screenshot](screenshots/regular.png) +![Mini player generator screenshot](screenshots/miniplayer.png) +*Mini player generator* + [Status page](https://uptime.busybox.colabois.fr/status/nowplaying) ###### Dedicated Discord server: [nowplayi.ng/discord](https://nowplayi.ng/discord) - tip to me: [paypal.me/busybox11](https://paypal.me/busybox11) (thank you!) @@ -25,6 +28,7 @@ v2.0.X - Fix blur edges - Fix Safari hardware acceleration - No full page reload for reauthentication +- Mini player usage and generation
v1.6.X @@ -83,7 +87,7 @@ HTML, TailwindCSS, JS / AlpineJS, PHP ## **Upcoming changes** - [X] ~~Rewrite (see [discussion #76](https://github.com/busybox11/NowPlaying-for-Spotify/discussions/76) about the possible use of web frameworks)~~ -- [ ] OBS source (In progress!) +- [X] ~~OBS source (Done since [v2.1](https://github.com/busybox11/NowPlaying-for-Spotify/commit/994c52e06881f78f52b4a151fec11376db3edf12))~~ - [ ] Local players support (coming with [localmusic-api](https://github.com/busybox11/localmusic-api/projects) - [Sunamu by @NyaomiDEV](https://github.com/NyaomiDEV/Sunamu)) - [X] ~~Better config handling (e.g. automatic deployment, **HELP WANTED!**)~~ - [ ] Themes diff --git a/screenshots/miniplayer.png b/screenshots/miniplayer.png new file mode 100644 index 0000000..2af2123 Binary files /dev/null and b/screenshots/miniplayer.png differ