You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lilin's own sign-in. Accounts are created on the server (node setup.js user add EMAIL [--owner], also passwd, remove, signout, list); people sign in at /signin and can change
their password or sign out in Settings. scrypt password hashes, random session tokens stored only
as hashes, HttpOnly; SameSite=Lax cookies, per-account backoff and per-address lockout.
Visitors from the internet must sign in. The shared Home network account is given only to
visitors connecting directly from a private, loopback or Tailscale address, so a port forwarded by
mistake (or a tunnel without Access) shows a sign-in page instead of the library. HOME_NETWORK_ACCESS=signin makes everyone sign in.
Unwanted requests are refused: changes from other websites (CSRF, Origin/Sec-Fetch-Site),
requests for unknown host names (DNS rebinding; ALLOWED_HOSTS adds names), and framing by other
sites. Security headers on every response.
Windows autostart without SYSTEM. The Lilin Watchdog task ran a script from the Lilin
folder as SYSTEM, so anyone able to change that script could take over the PC. The Lilin task
now restarts itself every 2 minutes as your account, without elevation; re-running install-service.ps1 removes the old task and limits write access to the Lilin folder. node setup.js doctor warns about both.
Clipper is pinned.node setup.js clipper installs one reviewed commit and checks its SHA-256
tree hash before running anything, lists what Clipper installs, and no longer defaults to yes.
The commands for another PC check the installer's checksum instead of piping main into a shell.
Added
Windows setup wizard.MarqueeSetup.exe (a release asset) is a normal Windows window that
installs Node.js and Lilin, then walks through library, network, sign-in, services, game clips
and start at boot, with folder pickers, a live port check and connection tests. The Clipper
add-on page installs the pinned Clipper on this PC, or gives the command for another PC and can
share the clips folder. It runs the same commands as the terminal setup (nothing of its own writes .env), adds Lilin Setup to the Start menu for later changes, and node setup.js gui opens
it. New node setup.js wizard info|check|clipper print JSON for graphical front ends (read-only,
secrets reported only as set or not); install-service.ps1 -CredentialFile takes the Windows
password from the wizard (DPAPI-encrypted for your account, deleted once read).
Download to phone.To phone on a film, a phone button on each episode and Season to
phone make small offline copies: Small (480p) or Standard (720p) H.264/AAC MP4s with the saved
subtitles as tracks and HDR tone-mapped to SDR, made one at a time (NVENC or x264), listed under For your phone in the Library and announced by notification when ready. Full quality
downloads the file as it is. TRAVEL_DIR, TRAVEL_KEEP_DAYS (7), TRAVEL_MAX_GB (50).
Skip intro: a button (or S) during an episode's opening titles, found from an
Intro/Opening chapter or the theme song shared with neighbouring episodes of the season (audio
fingerprint of the first eight minutes, cached with the credits). Settings → Watching → Intros
can skip them automatically. GET /api/media/<lib|dl>/<id>/intro.
Notifications through Web Push with no dependencies (src/push.js: VAPID ES256 signing and
RFC 8291 aes128gcm encryption on node:crypto, checked against the RFC's test vector). Settings →
Notifications turns them on per device and switches downloads ready, new episodes (a show
you follow or have in your library got a new episode) and Watch Together invites (new Invite button in the
room bar) on or off. A service worker (public/sw.js), web app manifest and icons; iPhone needs
Lilin on the Home Screen. Keys and devices live in .marquee-push.json; endpoints must belong to
a known push service.
Bedtime menu in the player (moon button). Night mode (also N) evens out loud and
quiet scenes and lifts voices through Web Audio; the sleep timer pauses after 15–90 minutes
with a short fade, or at the end of the episode without starting the next one.
Subtitle look: style (Box, Shadow, Outline) and height (Low, Mid, High) next to the size,
and a second subtitle language shown above the first.
What's new: after an update, everyone sees its notes once in a sheet (written in whats-new.json,
newest first; items can be marked "audience": "owner"). Settings → What's new lists past updates,
and a page left open through an update offers a reload. A What's new button in the header opens
the full history any time and lights up while an update is unseen; older updates back to the first
version are listed there too ("announce": false keeps an entry out of the popup).
Stats for nerds in the player: press I (or right-click / long-press the picture) for a live
panel with everything about the stream. From the server's ffprobe of the exact file being
played: container, size, overall and per-stream bitrate, codec with profile and level, frame
rate, pixel format, colour primaries/transfer/matrix/range, HDR10/HLG/Dolby Vision with mastering
and light levels, every audio and subtitle stream, and the original release when a browser copy
is playing (GET /api/stream-info?src=). From the browser: codec string and whether it decodes
in hardware and smoothly, decoded and drawn size, presented frame rate and jitter, dropped
frames, startup and seek times, stalls, buffer ahead and download rate with one-minute graphs,
the active audio and subtitle choice, Watch Together clock and casting state. Copy puts the
whole report on the clipboard.
node setup.js clipper: sets up game clips in one go. It creates CLIPS_DIR (next to MEDIA_DIR by default) and either downloads and installs Clipper,
the replay-buffer recorder, on this computer, or prints what to run on your gaming PC (Windows
or Linux) with the share path, Lilin's address and the quality filled in, plus how to share
the folder. Quality is a preset (compact, balanced, high, max, smooth) or bench:quality|smooth|balanced|small, which has Clipper measure the PC and pick.