diff --git a/changes/jellyfin-subtitle-generation.md b/changes/jellyfin-subtitle-generation.md new file mode 100644 index 00000000..40880547 --- /dev/null +++ b/changes/jellyfin-subtitle-generation.md @@ -0,0 +1,4 @@ +type: added +area: subtitles + +- Japanese subtitle generation now works while playing a Jellyfin episode. SubMiner reads the original file from the server, saves the subtitles to a cache folder, and loads them into mpv. Direct-play and transcoded playback are both supported. diff --git a/changes/stats-widen-halfwidth-kana.md b/changes/stats-widen-halfwidth-kana.md new file mode 100644 index 00000000..7daa6217 --- /dev/null +++ b/changes/stats-widen-halfwidth-kana.md @@ -0,0 +1,5 @@ +type: fixed +area: stats + +- Subtitle lines recorded before halfwidth katakana widening now show fullwidth katakana in the stats dashboard (word/kanji occurrences, sentence search), and cards mined from stats history get the fullwidth sentence and word. +- Sentence search matches katakana in either width, so searching アンタ also finds older lines stored as アンタ. diff --git a/changes/widen-halfwidth-kana.md b/changes/widen-halfwidth-kana.md new file mode 100644 index 00000000..f28066a2 --- /dev/null +++ b/changes/widen-halfwidth-kana.md @@ -0,0 +1,4 @@ +type: fixed +area: overlay + +- Halfwidth katakana in subtitles (common in broadcast-derived Japanese subs, e.g. アンタ, ダキニ) now displays as normal fullwidth katakana, so lines no longer mix squashed and normal-width text. Mined sentences and stats get the fullwidth form too. diff --git a/docs-site/jellyfin-integration.md b/docs-site/jellyfin-integration.md index 8bf4424d..b0904307 100644 --- a/docs-site/jellyfin-integration.md +++ b/docs-site/jellyfin-integration.md @@ -23,6 +23,8 @@ SubMiner starts mpv if it is not already running. Pause, seek, stop, and track c SubMiner selects a Japanese subtitle track automatically and resets mpv's subtitle delay to zero. It direct-plays files when it can and asks Jellyfin to transcode the rest. +If an episode has no Japanese subtitles, you can [generate them with Whisper](/subtitle-generation#generating-from-the-overlay) while it plays. + On Windows, casting finds mpv through `mpv.executablePath`, then `SUBMINER_MPV_PATH`, then `PATH`. An invalid `mpv.executablePath` stops mpv from starting. ## Playing from the terminal diff --git a/docs-site/subtitle-generation.md b/docs-site/subtitle-generation.md index 3447d13f..e69fde2a 100644 --- a/docs-site/subtitle-generation.md +++ b/docs-site/subtitle-generation.md @@ -16,7 +16,7 @@ The modal's **Local tools** section lists anything missing. After you install a ## Generating from the overlay -1. Open a local video in mpv and select its Japanese audio track, or play a YouTube video. +1. Open a local video in mpv and select its Japanese audio track, or play a Jellyfin or YouTube video. 2. Press `Ctrl+Shift+G`. If the subtitle sidebar is empty, its **Generate Japanese subtitles** button opens the same modal. 3. Pick a model and download it if needed. 4. Optionally check **Focus on spoken dialogue** (see below). @@ -26,6 +26,8 @@ The modal shows progress. **Cancel** stops the job. Closing the modal lets the j SubMiner saves `