Linked playlist folders, local API, installer agreement

- Add existing folders as playlists; they're never moved or deleted by Atmosphere
- Missing linked folders show Locate and Remove, and return when the drive reconnects
- Opt-in local API for other apps: loopback only, hashed token, per-permission access,
  browser and DNS-rebinding requests refused, lockout after repeated bad tokens
- Live now-playing events, library browsing, playback and queue control, links to Get
- API guide in docs/api.md
- Agreeing on the Windows installer's licence page counts as the rights agreement
- Drop the redundant DRM line from the welcome screen
This commit is contained in:
Christian
2026-11-18 21:03:56 -05:00
parent 7329bd673b
commit a5c6c2503b
17 changed files with 1301 additions and 42 deletions
+20
View File
@@ -949,3 +949,23 @@ body.mini-mode > *:not(#mini):not(.toasts):not(.modal-wrap):not(script) { displa
@media (prefers-reduced-motion: reduce) { .mini-bg, .mini-play { transition: none; } }
.mini.mac .mini-top { padding-left: 78px; }
.mini.mac .mini-brand { display: none; }
/* linked playlist folders */
.nav-item.missing { color: var(--text-3); }
.nav-item.missing .nav-meta { color: var(--warn, #d9a441); font-size: 11px; }
.missing-folder { max-width: 520px; margin: var(--s6) auto; text-align: center; gap: var(--s3); }
.missing-folder > .i svg { width: 36px; height: 36px; color: var(--warn, #d9a441); }
.missing-folder h2 { font: 650 18px/1.3 var(--font-display); margin: 0; }
.missing-folder p { margin: 0; color: var(--text-2); }
.missing-folder code.path { font-size: 12px; color: var(--text-3); overflow-wrap: anywhere; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--hairline); }
.row.center { justify-content: center; }
/* connections */
.api-status[data-kind="ok"] { color: var(--ok); }
.api-status[data-kind="err"] { color: var(--err); }
.api-token { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s2); }
.api-token code { font: 12px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; padding: 6px 10px; border-radius: 8px; background: var(--surface-2, var(--surface)); border: 1px solid var(--border); user-select: all; overflow-wrap: anywhere; max-width: 100%; }
.api-token p { flex-basis: 100%; margin: 0; }
.api-scope.dim { opacity: 0.55; }
#apiDocs { color: var(--accent); font: inherit; padding: 0; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
#apiDocs:hover { text-decoration-color: currentColor; }