Skip to content

v0.1.2 - Zipped works show up, scans mind their manners

Pre-release
Pre-release

Choose a tag to compare

@4890A 4890A released this 18 Aug 21:15
· 25 commits to main since this release

Works still sitting in a .zip now show up in the library, filters stack instead of replacing each other, and scans stop hammering DLsite.

Added

Archived works are part of the library. The scanner only ever looked at directories, so a work you had downloaded but not yet extracted was invisible — there was no way to tell "not in the library" from "in the library, still zipped". A .zip, .rar or .7z whose filename carries an RJ code is now scanned like any other work: full metadata, cover art, and a card in the grid, tinted red with an archive badge so it reads as "nothing to play here yet". Extracting it and re-scanning replaces the entry in place rather than leaving a duplicate behind, and packed works are kept out of the on-deck shuffle, since that is a shortcut to press play.

Filter by R18 and by archive. Two tri-state switches — all / only / hide — sit at the top of the filter panel, so you can say "no R18 right now" or pull up just the works still waiting to be extracted. Each is backed by one query param (?r18, ?zip), composes with search and every other filter, and appears as a removable chip.

Four tags per card, with the rest behind a "+N". Cards used to cut the tag list at three with nothing to say more existed, so a work's remaining tags were only reachable from its own page. Opening the counter lays the leftovers out as the same chips as the row, each one a link that adds itself to the current filters — the same behaviour as the voice-actor overflow one row up.

Settings → DLsite → minimum delay between requests. A millisecond gap enforced between every outbound DLsite request, metadata and cover downloads alike. Defaults to one request per second; 0 disables the wait entirely.

Changed

HVDB is no longer a metadata source. Looking a work up cost as many as six requests — three DLsite id spellings, then the same three against HVDB — fired back to back with no pause, no timeout and no retry, for a work that might not exist anywhere. DLsite is now the only source. Works already stored with HVDB metadata are treated as stale and refreshed by an ordinary incremental scan; no forced re-scan needed.

Scans back off instead of hammering. Every DLsite request now carries a 15-second timeout, and a rate-limit, server error or dropped connection is retried three times with exponential backoff, honouring Retry-After when DLsite sends one. A 404 still costs exactly one request — "not on DLsite" is a settled answer, not a failure worth retrying.

A DLsite outage ends a scan cleanly. One work exhausting its retries is just a bad work, and the scan moves on. Three in a row means DLsite itself is gone, so the scan pauses a minute, gives it one more try, and then stops rather than walking the rest of the library recording the same failure. The progress panel closes with a partial result instead of hanging, and retries and pauses are visible in the scan log as they happen.

Fixed

Aborted media requests no longer throw. Browsers cancel range requests constantly — every seek, every track switch, every partially buffered file the player drops. The underlying Node stream kept running after the web stream was cancelled, so each aborted request logged an uncaught exception and left the file handle's cleanup to chance. Audio and cover streaming now guard every controller call and destroy the handle on every exit path: end, error, cancel, or request abort.

Search suggestions merge into your filters. Picking a suggestion used to replace the whole query string, wiping everything else you had narrowed by. Clicking a tag or seiyuu chip on a work card had the same problem. Both now start from the current filters and add to them.

Pages no longer 500 after a build under a custom distDir. Build output under a directory name the ignore file did not anticipate was walked as source by Tailwind's scanner, producing mangled class candidates that failed the CSS parse and broke every page.

Security

Dependency updates: next 16.2.6 → 16.2.11 (middleware/proxy bypass, SSRF and DoS fixes), undici ^8.3.0 → ^8.10.0 (TLS validation bypass, DoS fixes), plus postcss and sharp pinned to patched versions over Next's transitive pins.

Full changelog: v0.1.1...v0.1.2