Repository navigation
Releases
Releases · afn478/iinatan
v2.2.0
Added
- Added Option+Up/Down to jump between dictionary entries in the lookup popup, matching Yomitan. Entry navigation is shared with the gamepad, steps from the current scroll position, pins the headword to the popup top, and accounts for popup scale.
- Added a popup glass transparency setting with an option to follow the system.
Changed
- Restyled the settings window after macOS 27 System Settings, aligned its controls with IINA, and made it follow Differentiate Without Color.
- Gave popup controls a Liquid Glass treatment, and made an inherited popup theme follow the macOS appearance live.
- Made the popup and settings content scroll natively with elastic bounce, a slimmer popup scroll bar, and no whole-window bounce in settings.
- Outlined the selected entry only for gamepad input, leaving keyboard navigation unadorned.
Fixed
- Fixed wide dictionary tables widening the popup.
- Fixed the popup audio and Anki buttons flashing on hover.
v2.1.9
Fixed
- Fixed the first lookup popup not closing on hover-away on macOS 27, where the overlay no longer received the pointer leaving the popup for bare video.
Changed
- Kept Shift-hover subtitle popups open when Shift is released before the pointer moves away, matching Yomitan; they close on a click outside the popup, Escape, or moving over empty space while holding Shift, and playback stays paused until then.
v2.1.8
Fixed
- Improved nested popup dismissal during Shift-hover lookup and Anki sentence-audio export for selected and multichannel audio tracks.
v2.1.7
Added
- Added configurable controller support for macOS-recognized controllers, including subtitle lookup, popup navigation, playback, audio selection, and Anki actions.
Fixed
- Improved subtitle lookup for characters rendered with fallback fonts.
v2.1.6
Added
- Added optional macOS controller support for navigating subtitles and dictionary popups, controlling playback, playing entry audio, and running Anki actions.
v2.1.5
Fixed
- Prevented rapid media-heavy Anki exports from hanging in IINA's external-process bridge when word-audio resolution, screenshot hashing, and sentence-audio encoding overlap; process work is now safely serialized, loopback audio metadata stays on native HTTP, network/storage stages remain concurrent, and identical in-flight audio-source requests are reused.
- Prevented provisional root and nested lookup popups, including lookups inside example sentences, from flashing a full sentence or jumping from a temporary loading position before the completed dictionary result appears.
Added
- Added a per-profile minimum popup width setting so compact dictionary results, including CEDICT entries, can retain a balanced layout.
- Added optional Yomitan-style Shift-hover lookup triggers for subtitle text and nested popup definitions.
v2.1.4
Added
- Mirrored Yomitan's per-popup primary Anki audio selection, including note-card toggles for every source and named local clip and automatic selection after playing a context-menu recording.
Fixed
- Exposed every named clip returned by local Yomitan audio sources after loading them, allowing an exact recording to be selected from the audio context menu.
- Exported word audio from direct dynamic URLs that do not return Yomitan JSON, preserved kana-only readings for audio lookup, and rejected JapanesePod101's known unavailable-audio placeholder during playback and Anki export.
- Applied mpv's current subtitle delay to Anki sentence-audio clip boundaries, keeping exported audio aligned with the displayed subtitle.
- Limited Lapis Anki field autodetection to the note-type selection that triggered it, so intentionally cleared field mappings stay empty across settings refreshes.
- Restored dictionary popups when recommended dictionaries are installed from Settings before opening a video; the player overlay now reloads when its window becomes available instead of requiring an IINA restart.
Improved
- Added a practical popup CSS guide, stable dictionary name and type selectors, and tested recipes for restyling popup structure, metadata, controls, and Jitendex content.
- Updated the bundled HoshiDicts backend to upstream commit
8993838while retaining compatibility with non-Japanese Yomitan metadata and previously imported dictionaries. - Reworked the dictionary manager settings window with opaque macOS-style surfaces, light/dark system color tokens that follow the system accent, segmented tabs, toggle switches, native icon controls, and native profile confirmation dialogs while preserving existing settings behavior.
- Kept settings help popovers within the visible window and added internal scrolling for long help text.
v2.1.3
Fixed
- Made passive Anki duplicate checks reliable under load, changed confirmed duplicates to reveal every matching note in a foregrounded Anki Browser, and added a separate compact add-anyway control when duplicate adding is enabled.
- Corrected Anki delivery for IINA's asynchronous native and binary WebSocket channels, kept the primary action duplicate-safe in add-anyway mode, and made reveals compatible with current AnkiConnect versions whose
guiBrowseresult is empty. - Kept the popup scrollbar fully rounded and inside the material surface by widening its transparent gutter and reserving space above and below the track for the popup's curved corners.
- Removed redundant horizontal padding from self-framed inline metadata across dictionary bracket styles, indented definition content without moving dictionary names or source headwords, and tightened dictionary-section spacing without dividers.
Improved
- Promoted the first configured Japanese pitch dictionary's accent pattern beside each bold headword without changing its pitch typography, while keeping later pitch dictionaries in their existing metadata rows, tightening the header/body spacing around frequency metadata, and collapsing preference-ordered frequency chips after the first behind a compact disclosure control.
- Refined the popup with macOS-style translucent dark and light materials, semantic system-color accents, quieter controls and metadata, softer separators, and restrained example, note, cross-reference, disclosure, and forms-table styling while preserving each dictionary's existing layout and entry hierarchy.
- Polished popup typography and interaction details with an explicit Apple-system font stack, native text selection colors, tabular numeric metadata, larger icon targets, dimmed press states, theme-aware focus halos, and a reduced-motion-safe entrance animation.
v2.1.2
Improved
- Accelerated Anki card export, especially from videos on mounted drives, by extracting sentence audio from mpv's already-open cache before reopening the source, using IINA's native HTTP transport for AnkiConnect, reusing recent duplicate preflights, coalescing media setup, and reducing native hashing and temporary-file overhead. Added a reproducible end-to-end Anki export benchmark covering cold, preflighted, media-heavy, text-only, allow-duplicate, and prevented-duplicate paths.
- Restored fast YouTube startup with native subtitle lookup by keeping Online Media caption URLs delayed until mpv needs them, reusing mpv's decoded SRT events instead of downloading captions twice, and avoiding repeated work for unselected tracks and unchanged cues.
- Reduced plugin-wide startup and interaction overhead by deduplicating cold-start filesystem/backend work, caching active dictionary discovery, indexing deinflection rules, avoiding repeated overlay lookup scans and debug formatting, streamlining subtitle hit-box layout and Anki card formatting, and preventing teardown events from restarting plugin work.
- Added a reproducible plugin-wide benchmark covering startup, six-language lookup, media/subtitle handling, native geometry, overlay rendering, Anki cards, and dictionary/profile settings, including comparisons against an untouched Git revision.
Fixed
- Kept Anki sentence audio on the requested subtitle line when mpv cache dumps include video-keyframe or container-cluster pre-roll; cached extraction now trims from mpv's actual aligned dump boundary instead of assuming the temporary file starts at the requested timestamp.
- Prevented an IINA native crash during overlay startup and subtitle processing by replacing the remaining cross-queue interval cancellation paths with bounded, main-queue-cleaned repeating tasks while preserving fast subtitle and worker polling.
- Prevented rapid subtitle lookups, including Chinese lookup thrashing, from leaking IINA native timers or racing its WebSocket timer bookkeeping; direct worker responses retain their fast polling cadence through one shared active-lookup interval.
- Kept dictionary lookups responsive when opening overlapping player windows or loading subtitles manually by giving each player its own bridge and worker runtime, recovering rare bridge-port conflicts, and retaining a native-message fallback if the socket is unavailable.
- Prevented lookup-owned pauses from rebuilding text-subtitle hit targets under a stationary pointer, which could repeatedly reopen one word and rapidly alternate pause and resume; bitmap-subtitle OCR still rebuilds when pausing requires a fresh frame.
v2.1.1
Changed
- Moved the Anki enable checkbox to the top of the Anki settings tab.
- Made native subtitle lookup the default for new profiles, presented the older renderer as legacy mode, refined its setting spacing, and moved detailed subtitle and OCR explanations behind help controls.
Fixed
- Restored native-subtitle lookup for YouTube SRT captions loaded by IINA's Online Media plugin by validating and unwrapping its external subtitle EDL while keeping unrelated unknown codecs and unsafe sources rejected.