16 KiB
This is a prerelease build for testing. Stable changelog and docs-site updates remain pending until the final stable release.
Highlights
Added
-
Settings Window: A dedicated Settings window is now available via
subminer --settingsorsubminer settings, organized into Appearance, Behavior, Anki, Input, and Integration sections.- Includes click-to-learn keybinding controls, an AnkiConnect deck dropdown that auto-fills from Yomitan's current mining deck, and AnkiConnect-backed deck, field, and note-type pickers.
- Live-saves changes for subtitle CSS declarations, stats keys, logging level, Anki field mappings, sentence card model, and other annotation and runtime options; search narrows across all categories including on multi-word terms. AI and translation settings remain config-file only.
-
Auto-Updater: SubMiner can now check for and apply updates from the system tray or by running
subminer -u, with checksum verification and configurable update notifications.- The
subminerlauncher and Linux rofi theme update automatically alongside the app. - Set
updates.channelto"prerelease"to receive beta and RC builds.
- The
-
First-Run Setup: A new optional setup flow installs Bun and the
subminercommand-line launcher on Linux, macOS, and Windows.- Windows users get a
subminer.cmdPATH shim sosubminerworks in any terminal without manually addingSubMiner.exeto PATH. - Setup recognizes existing
subminerinstalls in Homebrew or user PATH directories and avoids writing into Homebrew-owned paths. An Open SubMiner Settings button is included on completion; the standalone setup app quits after finishing.
- Windows users get a
-
Character Portraits: Character-name subtitle matches can now show optional inline AniList character portraits.
- Manual AniList title overrides are scoped per media directory so separate season folders keep independent character dictionary selections.
-
Log Export: Sanitized log ZIP archives can be exported from the tray menu or by running
subminer logs -e, with home-directory usernames redacted from the exported contents. -
Logging Configuration: SubMiner's logging level is now forwarded into launcher-started and Windows shortcut-started mpv sessions, controlling mpv log verbosity and plugin script logging.
- The new
logging.rotationconfig sets daily log retention (default 7 days).logging.filestoggles let you enable or disable per-component log files; mpv logs are off by default unless explicitly enabled.
- The new
-
Yomitan Popup Visibility: The new
subtitleStyle.primaryVisibleOnYomitanPopupoption keeps hover-mode primary subtitles visible while a Yomitan lookup popup is open. -
Launcher:
subminer --version/subminer -vnow prints the installed app version. The newmpv.profileconfig option passes an mpv profile to SubMiner-managed mpv launches, and bundled mpv plugin startup options are now configurable from SubMiner config.
Changed
-
Subtitle Appearance: Primary and secondary subtitle appearance now use color controls plus CSS declaration editors, saved as
subtitleStyle.cssandsubtitleStyle.secondary.css; sidebar appearance usessubtitleSidebar.css.- Default font stack updated to
Hiragino Sans, M PLUS 1, Source Han Sans JP, Noto Sans CJK JP; default text shadow is stronger, JLPT underlines are thicker, and the frequencytopXthreshold defaults to10000. - Existing configs are migrated automatically: legacy appearance options and hover token colors fold into
subtitleStyle.css, and user config files are preserved.
- Default font stack updated to
-
Known-Word Colors: Known-word and N+1 annotation colors moved to
subtitleStyle.knownWordColorandsubtitleStyle.nPlusOneColor. Legacy Anki color keys remain accepted with deprecation warnings.- N+1 highlighting is preserved for configs that already had it enabled; new configs leave it disabled unless
ankiConnect.nPlusOne.enabledis set explicitly.
- N+1 highlighting is preserved for configs that already had it enabled; new configs leave it disabled unless
-
Character Dictionary: Entries are now scoped to the current AniList media and generate Japanese name aliases only, so raw romanized or English aliases no longer appear as separate results.
- A new
Ctrl/Cmd+Dmanager modal lets you remove, reorder, or override loaded dictionary entries. - The in-app AniList title selector now waits for an explicit search rather than triggering automatically; the search box is prefilled from the current filename guess.
- A new
-
Linux Updater: Tray "Check for Updates" now installs the new AppImage automatically via
electron-updater, matching the macOS and Windows update flow. System-package-managed AppImages and non-AppImage launches fall back to the GitHub-asset flow. -
Subsync: The subtitle sync dialog now always opens the manual picker; the
subsync.defaultModeconfig option has been removed. -
Jellyfin Setup: The server presets dropdown is replaced by a single editable server URL field.
-
Defaults: Jellyfin remote-session startup warmup and character-name subtitle highlighting now default to off.
-
Runtime: The bundled Electron runtime is updated from 39.8.6 to 42.2.0.
Fixed
-
macOS Overlay: Significantly improved overlay focus and stability across a range of scenarios.
- The overlay hides when mpv loses focus, is minimized, or is no longer the foreground target; stays stable through transient window-tracking misses; remains correctly layered during stats mouse passthrough; and opens over fullscreen mpv without switching Spaces.
- Passthrough is fixed so mpv controls stay clickable before hovering a subtitle bar. The compiled mpv window helper is now correctly bundled, preventing the overlay from falling back to a slower startup path on first launch.
-
Linux/Hyprland Overlay: Overlay placement refreshes after leaving mpv fullscreen so the visible overlay stays aligned to the player.
- The overlay stays stacked above mpv after click-to-focus events and is suspended while the in-player stats window is open.
- Settings windows (SubMiner and Yomitan) now open above the subtitle overlay; the overlay hides immediately when the character dictionary modal opens, including while AniList lookup is in progress.
-
Jellyfin Playback: Resolved a wide range of discovery and playback issues: the active item is no longer reloaded during startup, paused mpv is no longer misreported as playing, startup unpause no longer repeats after a manual pause or
y-ttoggle, and duplicate ready signals no longer re-show the overlay.- Discovery now correctly handles delayed Japanese subtitle selection and prevents later-loading foreign tracks from stealing the active Japanese track.
- Discovery resume correctly handles
StartPositionTicks: 0for items with saved progress.
-
Jellyfin Subtitles: Improved subtitle timing by preferring default embedded streams over external sidecars, stripping Jellyfin's server-selected stream from playback URLs, suppressing mpv auto-selection while SubMiner stages managed tracks, and automatically correcting Japanese-vs-English cue timeline offsets.
- Per-stream subtitle delay shifts are restored on load. Track selection now tolerates transient
track-listread failures and numeric string track IDs on Linux.
- Per-stream subtitle delay shifts are restored on load. Track selection now tolerates transient
-
Jellyfin Overlay: The visible subtitle overlay now shows automatically during Jellyfin playback so
subtitleStyleappearance applies, and the bundled mpv plugin is injected when SubMiner auto-launches mpv so mpv-side keybindings work without overlay focus.- The
y-toverlay toggle is reliable and remains sticky across stream redirects. - Passive Linux/Hyprland overlay shows no longer steal keyboard focus from mpv.
- The
-
Jellyfin Remote Progress: Fixed progress sync for mpv/SubMiner seek jumps, stopped sessions, startup path changes, and Linux websocket reconnect windows.
- Play and Resume are now distinct: Play starts from the beginning while Resume starts at the saved position.
- Final progress reports use SubMiner's last known position when mpv resets during stop.
-
Jellyfin Identity: Cast device identity is now derived from the OS hostname. Multiple SubMiner installs no longer share the same remote-session identity.
-
Jellyfin Tray: The discovery tray checkbox stays in sync on Linux after tray, CLI, or startup remote-session changes. Stale discovery sessions restart automatically when the server no longer lists the SubMiner cast target.
-
Jellyfin Setup: Fixed the Windows login flow with an IPC bridge and immediate progress feedback; unreachable servers time out with an inline error instead of hanging.
-
AniList Progress: Threshold checks now use fresh playback position data so updates fire correctly when playback reaches or skips past the watched threshold.
- Season-specific results are preferred for multi-season files, with a clear message when the matched season is not in Planning or Watching status.
- Repeated missing-token checks no longer exhaust AniList retry attempts or create duplicate dead-letter entries for the same episode.
-
Anki: Sentence-audio padding is now opt-in by default; animated AVIF freeze-frame duration is correctly aligned to word audio length without double-counting padding.
- Multi-line sentence mining stays aligned for repeated subtitle text; Kiku duplicate-card detection and merge flow are fixed; clipboard card updates from YouTube use mpv's resolved stream URLs; sentence cards refresh the secondary subtitle before saving.
- Known-word cache append is fixed when no default Anki mining deck is configured but multiple known-word deck field mappings are present.
-
YouTube: Primary subtitles are downloaded to temporary local files so the primary bar and sidebar read the same source, with cleanup on reload and quit.
- False load-failure notifications are suppressed. Launcher-managed playback creates the tray icon when attaching to an already-running process, and app-owned playback no longer lets the mpv plugin start a second SubMiner instance.
-
Character Dictionary: Surname honorifics are now matched for Japanese localized aliases embedded in AniList alternative names; cached snapshots are regenerated to include them.
- Cached media matches are reused when loading a title with an existing snapshot, avoiding redundant AniList search requests. Manager keyboard shortcuts are correctly forwarded to the mpv plugin.
-
Updater: Update checks are more stable across platforms: Linux uses GitHub release metadata;
subminer -ucan update independently of the tray app; macOS update dialogs reliably appear in the foreground.- Builds that cannot apply native updates show a manual-install message instead of a restart prompt. Windows retains the native NSIS update path while routing updater HTTP through the main process.
-
Setup - macOS: First-run setup recognizes existing
subminerinstalls in Homebrew or user PATH directories and avoids writing into Homebrew-owned paths.subminer app --setupopens the setup flow even when SubMiner is already running. The standalone setup app quits after completing first-run setup, andsubminer settingsexits cleanly when the window is closed.
-
Tray App: Fixed several lifecycle issues: the tray stays running when Yomitan settings are closed; a close-only menu prevents accidentally quitting the tray app; an in-page close button is available on Hyprland where native window controls are unavailable.
- Settings loading no longer blocks other tray actions; the embedded popup preview is disabled to prevent renderer hangs during sidebar navigation; extension refreshes at startup are serialized; the session help modal closes correctly without mpv running.
- On Windows, "Open SubMiner Setup" now correctly opens the setup window after first-run setup is complete.
-
Launcher: Launcher-opened videos reuse an already-running background SubMiner instance and correctly reapply preferred subtitles on warm launches. Videos stay paused until subtitle priming and tokenization readiness complete.
subminer settingson macOS no longer emits Electron menu diagnostics and exits cleanly when the window is closed. Linux first-run launcher installs build with a valid Bun shebang;subminer appon Linux returns control to the terminal immediately.- On Windows, managed mpv launches from a background instance correctly retarget the new mpv socket, bind to the player window, and receive startup overlay options.
-
Playback: The first subtitle is primed before autoplay resumes so the overlay renders text before video playback begins. Launcher-owned videos quit SubMiner when playback ends while background and tray sessions stay alive.
- The visible overlay and subtitle stream stay alive after restarting SubMiner from the
y-rshortcut, with correct Linux bounds reapplication and user-paused playback preserved through readiness gates.
- The visible overlay and subtitle stream stay alive after restarting SubMiner from the
-
Subtitle Frequency: Frequency highlighting is preserved for determiner-led noun compounds like
その場while standalone determiners are still filtered. Annotations are corrected for Yomitan single-token compounds with internal particles like目の前. -
Subtitle Annotation Prefetch: Cached annotations and character images are ready for more live subtitle changes without delaying raw subtitle display.
-
Shortcuts: Native mpv menu shortcuts are disabled during managed macOS playback so SubMiner shortcuts also work while mpv has focus. Session shortcuts including
stats.markWatchedKeyare correctly wired through mpv. The visible overlay receives focus when entering multi-line copy/mine selection so number keys work on macOS and Windows. -
Stats: In-player stats layering is fixed so delete confirmations, overlay modals, and update-check dialogs appear above the stats window. Jellyfin playback stats are grouped under item metadata so watched episodes merge with matching local library titles and display clean names.
-
Sidebar: Yomitan lookup popups opened from the subtitle sidebar now correctly pause playback when popup auto-pause is enabled. Mined cards use audio and images from the clicked subtitle line rather than the current primary line.
-
Controller: Config and debug shortcuts stay closed while controller support is disabled, with a notice to enable
controller.enabled. Learn mode can be entered from the edit pencil or binding badge; remaps are saved per controller profile, and individual bindings can be reset to their defaults. -
Discord Rich Presence: Presence no longer falls back to Jellyfin stream URLs; Jellyfin playback titles are primed before loading tokenized streams so presence shows the show/episode title.
-
WebSocket: The regular subtitle WebSocket now sends plain text only; annotation spans and token metadata are sent exclusively on the annotation WebSocket.
-
Windows Startup: Fatal startup errors now show a native error dialog and write details to the app log instead of exiting silently.
-
Yomitan: Fixed popups not opening when overlay startup races the Yomitan extension load.
-
Subtitle Sync Modal: Fixed a macOS issue where the modal would flash and disappear on the first attempt, or leave stale state after syncing.
Docs
-
Versioned Docs: Stable docs are now published at the site root with current development docs under
/main/.- Fixed versioned docs navigation so archived pages keep local links under the selected version, the version switcher no longer nests paths incorrectly, and local dev version routes serve warmed archive files instead of redirecting to production.
-
Configuration Reference: All previously undocumented config options are now covered, including
subtitleStyle.primaryDefaultMode,stats.markWatchedKey,immersionTracking.lifetimeSummaries.*, and all sevenmpv.*launcher options. Updated known-word cache docs and examples to recommend expression/word fields. -
Architecture Docs: Added a Playback Startup Flow diagram and a Runtime Sockets section and diagram to the IPC + Runtime Contracts page, with cross-reference pointers in the MPV Plugin and Troubleshooting pages.
Installation
See the README and docs/installation guide for full setup steps.
Assets
- Linux:
SubMiner.AppImage - macOS:
SubMiner-*.dmgandSubMiner-*.zip - Optional extras:
subminer-assets.tar.gzand thesubminerlauncher
Note: the subminer wrapper script uses Bun (#!/usr/bin/env bun), so bun must be installed and on PATH.