This commit is contained in:
2026-02-17 03:52:25 -08:00
parent fa31459c77
commit 17b2273f48
8 changed files with 62 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
model = "gpt-5.3-codex-spark" model = "gpt-5.3-codex"
model_reasoning_effort = "medium" model_reasoning_effort = "medium"
personality = "pragmatic" personality = "pragmatic"
tool_output_token_limit = 25000 tool_output_token_limit = 25000
@@ -16,3 +16,9 @@ shell_snapshot = true
[projects."/home/sudacode/projects"] [projects."/home/sudacode/projects"]
trust_level = "trusted" trust_level = "trusted"
[projects."/home/sudacode/.config/mpv"]
trust_level = "trusted"
[projects."/home/sudacode/projects/japanese/SubMiner"]
trust_level = "trusted"

View File

@@ -98,7 +98,7 @@
"ffmpeg_path": null, "ffmpeg_path": null,
}, },
"subtitleStyle": { "subtitleStyle": {
"fontFamily": "Noto Sans CJK JP Regular, Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif", "fontFamily": "M PLUS 1 Medium", "Noto Sans CJK JP Medium, Noto Sans CJK JP, Arial Unicode MS, Arial, sans-serif",
"fontSize": 35, "fontSize": 35,
"fontColor": "#cad3f5", "fontColor": "#cad3f5",
"fontWeight": "normal", "fontWeight": "normal",
@@ -119,20 +119,16 @@
}, },
}, },
"jimaku": { "jimaku": {
// "apiKey": "YOUR_API_KEY",
// or use a command that outputs the key:
"apiKeyCommand": "cat ~/.jimaku-api-key", "apiKeyCommand": "cat ~/.jimaku-api-key",
"apiBaseUrl": "https://jimaku.cc", "apiBaseUrl": "https://jimaku.cc",
"languagePreference": "ja", "languagePreference": "ja",
"maxEntryResults": 10, "maxEntryResults": 10,
}, },
"invisibleOverlay": { "invisibleOverlay": {
// "platform-default" => hidden on Wayland, visible elsewhere
// other values: "visible", "hidden"
"startupVisibility": "platform-default", "startupVisibility": "platform-default",
}, },
"youtubeSubgen": { "youtubeSubgen": {
"mode": "automatic", // automatic | preprocess | off "mode": "automatic",
"whisperBin": "/usr/bin/whisper-cli", "whisperBin": "/usr/bin/whisper-cli",
"whisperModel": "~/models/whisper.cpp/ggml-small.bin", "whisperModel": "~/models/whisper.cpp/ggml-small.bin",
}, },
@@ -143,4 +139,20 @@
"enabled": true, "enabled": true,
"dbPath": "", "dbPath": "",
}, },
"jellyfin": {
"enabled": true,
"serverUrl": "http://pve-main:8096",
"username": "sudacode",
"accessToken": "9b5959bccec64164981c3cc2c970fd07",
"userId": "c5cf3703726c472ab5fff7d8480aa679",
"deviceId": "subminer",
"clientName": "SubMiner",
"clientVersion": "0.1.0",
"defaultLibraryId": "",
"directPlayPreferred": true,
"directPlayContainers": ["mkv", "mp4", "webm", "mov", "flac", "mp3", "aac"],
"transcodeVideoCodec": "h265",
"pullPictures": true,
"iconCacheDir": "~/S/japanese/subminer-jellyfin-icons",
},
} }

View File

@@ -164,7 +164,7 @@ alang=ja,jp,jpn,japanese,en,eng,english,English,enUS,en-US
slang=ja,jp,jpn,japanese,en,eng,english,English,enUS,en-US slang=ja,jp,jpn,japanese,en,eng,english,English,enUS,en-US
vlang=ja,jpn vlang=ja,jpn
subs-with-matching-audio=yes subs-with-matching-audio=yes
sub-font="Noto Sans CJK JP Regular" sub-font="M PLUS 1 Medium"
glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl" glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
scale=ewa_lanczossharp scale=ewa_lanczossharp
dither=error-diffusion dither=error-diffusion
@@ -173,9 +173,19 @@ input-ipc-server=/tmp/subminer-socket
[anime-subs] [anime-subs]
profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi" profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi"
sub-font="Noto Sans CJK JP Regular" sub-font="M PLUS 1 Medium"
sub-font-size=42 # sub-font="Source Han Sans JP"
sub-border-size=1.2 sub-bold=no
sub-shadow-color=0.0/0.0/0.0/0.6 sub-font-size=46
sub-shadow-offset=3 sub-color=1.0/1.0/1.0/0.98
sub-border-color=0.0/0.0/0.0/0.80
sub-border-size=1.3
sub-shadow-color=0.0/0.0/0.0/0.35
sub-shadow-offset=2
sub-back-color=0.0/0.0/0.0/0.12
sub-margin-x=24
sub-margin-y=18
sub-italic=no
sub-ass-override=strip
sub-line-spacing=0.3
sub-hinting=light sub-hinting=light

View File

@@ -203,7 +203,16 @@ input-ipc-server=/tmp/subminer-socket
[anime-subs] [anime-subs]
profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi" profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi"
sub-font="Noto Sans CJK JP" sub-font="Noto Sans CJK JP"
sub-font-size=42 sub-font-size=44
sub-border-size=1.2 sub-color=1.0/1.0/1.0/0.98
sub-shadow-color=0.0/0.0/0.0/0.6 sub-border-color=0.0/0.0/0.0/0.80
sub-shadow-offset=3 sub-border-size=1.3
sub-shadow-color=0.0/0.0/0.0/0.35
sub-shadow-offset=2
sub-back-color=0.0/0.0/0.0/0.12
sub-margin-x=24
sub-margin-y=18
sub-bold=no
sub-italic=no
sub-ass-override=strip
sub-hinting=light

View File

@@ -1,9 +1,9 @@
# Language and display # Language and display
# set language (for available options, see: https://github.com/Samillion/ModernZ/blob/main/docs/TRANSLATIONS.md) # set language (for available options, see: https://github.com/Samillion/ModernZ/blob/main/docs/TRANSLATIONS.md)
language=en language=en
layout=modern
# font for the OSC (default: mpv-osd-symbols or the one set in mpv.conf) # font for the OSC (default: mpv-osd-symbols or the one set in mpv.conf)
font=mpv-osd-symbols font=mpv-osd-symbols
# show mpv logo when idle # show mpv logo when idle
idlescreen=yes idlescreen=yes
# show OSC window top bar: "auto", "yes", or "no" (borderless/fullscreen) # show OSC window top bar: "auto", "yes", or "no" (borderless/fullscreen)
@@ -94,7 +94,7 @@ windowcontrols_title=${media-title}
# Subtitle display settings # Subtitle display settings
# raise subtitles above the OSC when shown # raise subtitles above the OSC when shown
raise_subtitles=yes raise_subtitles=no
# amount by which subtitles are raised when the OSC is shown (in pixels) # amount by which subtitles are raised when the OSC is shown (in pixels)
raise_subtitle_amount=125 raise_subtitle_amount=125
@@ -246,7 +246,7 @@ tooltips_for_disabled_elements=yes
# enable text hints for info, loop, ontop, and screenshot buttons # enable text hints for info, loop, ontop, and screenshot buttons
tooltip_hints=yes tooltip_hints=yes
# Progress bar settings # Progress bar settings
# size ratio of the seekbar handle (range: 0 ~ 1) # size ratio of the seekbar handle (range: 0 ~ 1)
seek_handle_size=0.8 seek_handle_size=0.8
# show seek range overlay # show seek range overlay
@@ -266,7 +266,7 @@ nibbles_style=triangle
# automatically set keyframes for the seekbar based on video length # automatically set keyframes for the seekbar based on video length
automatickeyframemode=yes automatickeyframemode=yes
# videos longer than this (in seconds) will have keyframes on the seekbar # videos longer than this (in seconds) will have keyframes on the seekbar
automatickeyframelimit=600 automatickeyframelimit=600
# always show a small progress line at the bottom of the screen # always show a small progress line at the bottom of the screen

View File

@@ -76,7 +76,6 @@
], ],
"permission": { "permission": {
"edit": { "edit": {
"*": "ask",
"*.md": "allow", "*.md": "allow",
"~/projects/japanese/SubMiner/*": "allow" "~/projects/japanese/SubMiner/*": "allow"
}, },
@@ -99,7 +98,8 @@
"git *": "allow", "git *": "allow",
"pnpm *": "allow", "pnpm *": "allow",
"rm *": "deny", "rm *": "deny",
"grep *": "allow" "grep *": "allow",
"wc *": "allow"
}, },
"external_directory": { "external_directory": {
"*": "ask", "*": "ask",