Web player overhaul; iOS random sort, stems-only filter, pooled libraries
Web: live Stem Now status that tracks every queued song (albums too), right-click menus with Stem Now, Songs and Genres pages, a Stems Only filter in place of the sidebar section, Random sort, several pooled Plex servers and libraries, themes plus custom CSS, a reorganised settings page that loads without a refresh, saved mixes, karaoke and synced lyrics, stem playlists and offline downloads. iOS: Random in every sort menu, a Stems Only toggle (sort menu and Settings), and several music libraries pooled from the signed-in server. Settings now persists karaoke and speed across launches. stemd writes a status file that stemserve serves at /api/queue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
48faa6682f
commit
7cdfbef160
16 files changed
+2006
-730
No files matched your search
+106
-11
@@ -9,12 +9,18 @@
|
||||
--accent-ink: #1a1306;
|
||||
--radius: 12px;
|
||||
--player-h: 96px;
|
||||
--glass: #15171dee;
|
||||
--hover: #eceef30d;
|
||||
--shadow: #0009;
|
||||
--wave: #eceef344;
|
||||
--wave-ghost: #eceef314;
|
||||
color-scheme: dark;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
|
||||
font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
|
||||
button, input, select { font: inherit; color: inherit; }
|
||||
button, input, select, textarea { font: inherit; color: inherit; }
|
||||
button:disabled { opacity: .4; cursor: default; }
|
||||
button { background: none; border: 0; cursor: pointer; padding: 0; }
|
||||
a { color: inherit; text-decoration: none; }
|
||||
svg { width: 1em; height: 1em; fill: currentColor; display: block; }
|
||||
@@ -36,7 +42,7 @@ h2 { font-size: 17px; margin: 28px 0 12px; }
|
||||
.sub { color: var(--muted); }
|
||||
.bar { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; flex-wrap: wrap; }
|
||||
.bar h1 { margin-right: auto; }
|
||||
select, input[type=text], input[type=url], input[type=password] { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; outline: none; }
|
||||
select, textarea, input[type=text], input[type=url], input[type=password] { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; outline: none; }
|
||||
|
||||
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px 18px; }
|
||||
.card { display: block; min-width: 0; }
|
||||
@@ -47,7 +53,7 @@ select, input[type=text], input[type=url], input[type=password] { background: va
|
||||
.card .s { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
.hero { display: flex; gap: 28px; align-items: flex-end; margin-bottom: 26px; }
|
||||
.hero img { width: 210px; height: 210px; border-radius: var(--radius); object-fit: cover; background: var(--raised); box-shadow: 0 20px 50px #0008; }
|
||||
.hero img { width: 210px; height: 210px; border-radius: var(--radius); object-fit: cover; background: var(--raised); box-shadow: 0 20px 50px var(--shadow); }
|
||||
.hero .meta { min-width: 0; }
|
||||
.hero .kind { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
|
||||
.actions { display: flex; gap: 10px; margin-top: 16px; }
|
||||
@@ -57,28 +63,109 @@ select, input[type=text], input[type=url], input[type=password] { background: va
|
||||
|
||||
.tracks { width: 100%; border-collapse: collapse; }
|
||||
.tracks tr { border-radius: 8px; }
|
||||
.tracks td { padding: 8px 10px; border-bottom: 1px solid #ffffff08; white-space: nowrap; }
|
||||
.tracks td { padding: 8px 10px; border-bottom: 1px solid var(--hover); white-space: nowrap; }
|
||||
.tracks tr:hover td { background: var(--panel); }
|
||||
.tracks tr.playing td { color: var(--accent); }
|
||||
.tracks .n { width: 36px; color: var(--muted); text-align: right; }
|
||||
.tracks .ti { width: 100%; max-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
||||
.tracks .ti small { color: var(--muted); margin-left: 8px; }
|
||||
.tracks .d { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
|
||||
.tracks .add { opacity: 0; color: var(--muted); font-size: 18px; }
|
||||
.tracks tr:hover .add { opacity: 1; }
|
||||
.tracks .add:hover { color: var(--text); }
|
||||
.stem-dot { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .05em; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-left: 8px; vertical-align: 1px; }
|
||||
.more { display: block; margin: 24px auto; }
|
||||
.tracks tr { cursor: default; }
|
||||
.tracks .off { color: var(--accent); width: 20px; padding: 0 2px; font-size: 13px; }
|
||||
.tracks .acts { width: 1px; padding: 0 4px; }
|
||||
.tracks .acts button { opacity: 0; color: var(--muted); font-size: 18px; width: 26px; height: 26px; border-radius: 6px; display: inline-grid; place-items: center; vertical-align: middle; }
|
||||
.tracks tr:hover .acts button { opacity: 1; }
|
||||
.tracks .acts button:hover { color: var(--text); background: var(--raised); }
|
||||
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .05em; color: var(--muted); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-left: 8px; vertical-align: 1px; }
|
||||
.tag.stems { color: var(--accent); }
|
||||
.tag.queued { color: var(--muted); }
|
||||
.tag.stemming { color: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
|
||||
.tag.failed { color: #e5534b; }
|
||||
@keyframes pulse { 50% { opacity: .35; } }
|
||||
.badge:empty { display: none; }
|
||||
.more { min-height: 1px; margin: 24px auto; color: var(--muted); }
|
||||
.sub#count { margin-right: auto; }
|
||||
.bar h1 + .sub { margin-left: -2px; }
|
||||
.bar.sm { margin: 28px 0 12px; }
|
||||
.bar.sm h2 { margin: 0; }
|
||||
.grow { flex: 1; }
|
||||
.sort { display: flex; gap: 6px; align-items: center; }
|
||||
.sort select { padding: 5px 8px; font-size: 13px; }
|
||||
.sort .chip svg { display: inline-block; vertical-align: -2px; }
|
||||
.chip { display: inline-flex; gap: 6px; align-items: center; }
|
||||
.link { color: var(--accent); cursor: pointer; }
|
||||
.btn.small { padding: 5px 12px; font-size: 13px; }
|
||||
.btn.icon { padding: 9px 12px; }
|
||||
.hero .ph { width: 210px; height: 210px; border-radius: var(--radius); background: var(--raised); flex: none; }
|
||||
.hero .round { border-radius: 50%; }
|
||||
|
||||
/* Stems-only filter hides rows and cards without stems. */
|
||||
body.stems-only .tracks tr.nostem, body.stems-only .card.nostem { display: none; }
|
||||
.only-stems { display: none; }
|
||||
body.stems-only .tracks:not(:has(tr:not(.nostem))) + .only-stems { display: block; }
|
||||
|
||||
.genres { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
|
||||
.genre { display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px; color: #fff;
|
||||
background: linear-gradient(135deg, hsl(var(--h) 55% 42%), hsl(calc(var(--h) + 40) 60% 24%)); text-shadow: 0 1px 6px #0006; }
|
||||
.genre:hover { filter: brightness(1.12); }
|
||||
|
||||
#live { margin-top: 14px; padding: 8px 10px; border-radius: 8px; background: var(--raised); font-size: 12px; color: var(--muted); line-height: 1.35; }
|
||||
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; animation: pulse 1.4s ease-in-out infinite; }
|
||||
|
||||
#menu { position: fixed; z-index: 50; min-width: 200px; padding: 5px; background: var(--raised); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 34px var(--shadow); }
|
||||
#menu button { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 6px; }
|
||||
#menu button:not(:disabled):hover { background: var(--accent); color: var(--accent-ink); }
|
||||
#menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 2px; }
|
||||
|
||||
#toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 18px); transform: translate(-50%, 10px); z-index: 60; max-width: min(520px, calc(100% - 32px));
|
||||
background: var(--text); color: var(--bg); padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
|
||||
#toast.show { opacity: 1; transform: translate(-50%, 0); }
|
||||
.empty-msg { color: var(--muted); padding: 40px 0; }
|
||||
|
||||
.form { max-width: 520px; display: grid; gap: 14px; }
|
||||
.form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
|
||||
.form label input, .form label select { color: var(--text); font-size: 14px; }
|
||||
.form .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
|
||||
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
|
||||
.check { display: flex !important; gap: 8px; align-items: center; color: var(--text) !important; font-size: 14px !important; }
|
||||
textarea { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; resize: vertical; color: var(--text); }
|
||||
.settings { display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: start; }
|
||||
.toc { position: sticky; top: 0; display: grid; gap: 2px; }
|
||||
.toc a { padding: 6px 10px; border-radius: 8px; color: var(--muted); }
|
||||
.toc a:hover { color: var(--text); background: var(--hover); }
|
||||
.panes section { max-width: 640px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 10px; }
|
||||
.panes section h2 { margin-top: 0; }
|
||||
.srv { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
|
||||
.srv .row { margin: 0; }
|
||||
.secs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
|
||||
details summary { cursor: pointer; margin: 12px 0; }
|
||||
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
|
||||
.swatch { border: 1px solid; border-radius: 10px; padding: 10px; text-align: left; font-weight: 600; display: flex; gap: 8px; align-items: center; }
|
||||
.swatch i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
|
||||
.swatch.on { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||
input[type=color] { width: 40px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none; }
|
||||
.note { color: var(--muted); font-size: 13px; }
|
||||
|
||||
#drawer { width: 340px; background: var(--panel); border-left: 1px solid var(--line); overflow-y: auto; padding: 22px 20px; }
|
||||
#drawer h2 { margin: 0 0 14px; }
|
||||
#drawer { display: flex; flex-direction: column; padding-top: 12px; }
|
||||
#drawer[hidden] { display: none; }
|
||||
.tabs { display: flex; gap: 4px; margin-bottom: 16px; position: sticky; top: -12px; background: var(--panel); padding: 6px 0; z-index: 1; }
|
||||
.tabs button { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; }
|
||||
.tabs button.on { background: var(--raised); color: var(--text); }
|
||||
.tabs .x { margin-left: auto; font-size: 20px; }
|
||||
.kara { display: grid; gap: 10px; margin-bottom: 16px; }
|
||||
.kara .chip { justify-self: start; }
|
||||
.seg { display: flex; background: var(--raised); border-radius: 8px; padding: 3px; }
|
||||
.seg button { flex: 1; padding: 5px 4px; border-radius: 6px; font-size: 12px; color: var(--muted); }
|
||||
.seg button.on { background: var(--accent); color: var(--accent-ink); }
|
||||
.kara label { display: grid; gap: 4px; }
|
||||
.mixrow { margin-top: 16px; }
|
||||
#lyr.synced p { margin: 0; padding: 7px 4px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--muted); opacity: .55; cursor: pointer; transition: opacity .2s, color .2s; }
|
||||
#lyr.synced p:hover { opacity: .85; }
|
||||
#lyr.synced p.on { color: var(--text); opacity: 1; }
|
||||
#lyr.plain { font-size: 15px; line-height: 1.6; color: var(--text); }
|
||||
.q-item .ph { width: 38px; height: 38px; border-radius: 6px; background: var(--raised); flex: none; }
|
||||
.q-item[draggable] { cursor: grab; }
|
||||
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
|
||||
.chip { background: var(--raised); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
|
||||
.chip.on { background: var(--accent); color: var(--accent-ink); }
|
||||
@@ -102,7 +189,7 @@ select, input[type=text], input[type=url], input[type=password] { background: va
|
||||
.q-item .x { color: var(--muted); font-size: 18px; padding: 0 4px; opacity: 0; }
|
||||
.q-item:hover .x { opacity: 1; }
|
||||
|
||||
#player { position: fixed; left: 0; right: 0; bottom: 0; height: var(--player-h); background: #101116ee; backdrop-filter: blur(20px);
|
||||
#player { position: fixed; left: 0; right: 0; bottom: 0; height: var(--player-h); background: var(--glass); backdrop-filter: blur(20px);
|
||||
border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(180px, 1fr) minmax(320px, 1.6fr) minmax(180px, 1fr); align-items: center; gap: 20px; padding: 0 20px; }
|
||||
#player.empty .center, #player.empty .right { opacity: .35; pointer-events: none; }
|
||||
.np { display: flex; gap: 12px; align-items: center; min-width: 0; }
|
||||
@@ -126,6 +213,9 @@ select, input[type=text], input[type=url], input[type=password] { background: va
|
||||
.right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
|
||||
.pill { color: var(--muted); font-size: 18px; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
|
||||
.pill.on { background: var(--raised); color: var(--accent); }
|
||||
.pill { position: relative; }
|
||||
.pill.dot::after { content: ""; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
|
||||
.np { cursor: pointer; }
|
||||
#speed { padding: 5px 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||
#speed.on { color: var(--accent); border-color: var(--accent); }
|
||||
#volume { width: 96px; }
|
||||
@@ -138,6 +228,11 @@ input[type=range] { accent-color: var(--accent); }
|
||||
.brand { padding: 0 8px 0 4px; }
|
||||
#nav a { white-space: nowrap; }
|
||||
#search input { margin: 0; width: 120px; }
|
||||
#live { margin: 0; white-space: nowrap; }
|
||||
.settings { grid-template-columns: 1fr; }
|
||||
.toc { position: static; display: flex; flex-wrap: wrap; }
|
||||
.tracks .acts button { opacity: 1; }
|
||||
.tracks .ti small { display: block; margin-left: 0; }
|
||||
.settings-link { margin-top: 0; }
|
||||
#view { padding: 20px 16px 40px; }
|
||||
#drawer { position: fixed; inset: auto 0 var(--player-h) 0; width: auto; max-height: 60vh; border-left: 0; border-top: 1px solid var(--line); z-index: 5; }
|
||||
|
||||
Reference in new issue
Block a user