mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
Responsive mini player, set details, cleaner titles, featured artists
- Mini player reflows by size: portrait card, wide strip with art left and controls right, or tiny - Lyrics preview in the mini player when there's room; lyrics and queue are exclusive - Mini player can't be maximised and remembers its size - SoundCloud sets read track details in parallel and split "Artist - Title" - YouTube titles drop (Official Music Video) and similar tags; Topic/VEVO channels become the artist - Comma lists and feat. credits in titles count as separate artists - Artist profiles show Featured on with the release type and which song - Downloaded files keep the source description and link in their notes - Opus is labelled Opus; DRC-compressed YouTube audio is avoided
This commit is contained in:
+2
-1
@@ -152,11 +152,12 @@ function openLyrics() {
|
||||
function renderLyricsAll() {
|
||||
renderLyricsPanel();
|
||||
if (Lyr.tv) renderTv();
|
||||
if (typeof Mini !== "undefined" && Mini.on) renderMiniPanel();
|
||||
}
|
||||
|
||||
function tick() {
|
||||
Lyr.raf = 0;
|
||||
const visible = !$("#lyricsPanel").hidden || Lyr.tv;
|
||||
const visible = !$("#lyricsPanel").hidden || Lyr.tv || (typeof Mini !== "undefined" && Mini.on && Mini.panelShown && Mini.prefs.panel === "lyrics");
|
||||
if (!visible) return;
|
||||
const l = Lyr.data;
|
||||
if (l?.synced) {
|
||||
|
||||
Reference in New Issue
Block a user