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"
personality = "pragmatic"
tool_output_token_limit = 25000
@@ -16,3 +16,9 @@ shell_snapshot = true
[projects."/home/sudacode/projects"]
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,
},
"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,
"fontColor": "#cad3f5",
"fontWeight": "normal",
@@ -119,20 +119,16 @@
},
},
"jimaku": {
// "apiKey": "YOUR_API_KEY",
// or use a command that outputs the key:
"apiKeyCommand": "cat ~/.jimaku-api-key",
"apiBaseUrl": "https://jimaku.cc",
"languagePreference": "ja",
"maxEntryResults": 10,
},
"invisibleOverlay": {
// "platform-default" => hidden on Wayland, visible elsewhere
// other values: "visible", "hidden"
"startupVisibility": "platform-default",
},
"youtubeSubgen": {
"mode": "automatic", // automatic | preprocess | off
"mode": "automatic",
"whisperBin": "/usr/bin/whisper-cli",
"whisperModel": "~/models/whisper.cpp/ggml-small.bin",
},
@@ -143,4 +139,20 @@
"enabled": true,
"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
vlang=ja,jpn
subs-with-matching-audio=yes
sub-font="Noto Sans CJK JP Regular"
sub-font="M PLUS 1 Medium"
glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"
scale=ewa_lanczossharp
dither=error-diffusion
@@ -173,9 +173,19 @@ input-ipc-server=/tmp/subminer-socket
[anime-subs]
profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi"
sub-font="Noto Sans CJK JP Regular"
sub-font-size=42
sub-border-size=1.2
sub-shadow-color=0.0/0.0/0.0/0.6
sub-shadow-offset=3
sub-font="M PLUS 1 Medium"
# sub-font="Source Han Sans JP"
sub-bold=no
sub-font-size=46
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

View File

@@ -203,7 +203,16 @@ input-ipc-server=/tmp/subminer-socket
[anime-subs]
profile-cond=p["slang"] == "ja" or p["slang"] == "ja.hi"
sub-font="Noto Sans CJK JP"
sub-font-size=42
sub-border-size=1.2
sub-shadow-color=0.0/0.0/0.0/0.6
sub-shadow-offset=3
sub-font-size=44
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-bold=no
sub-italic=no
sub-ass-override=strip
sub-hinting=light

View File

@@ -1,9 +1,9 @@
# Language and display
# set language (for available options, see: https://github.com/Samillion/ModernZ/blob/main/docs/TRANSLATIONS.md)
language=en
layout=modern
# font for the OSC (default: mpv-osd-symbols or the one set in mpv.conf)
font=mpv-osd-symbols
# show mpv logo when idle
idlescreen=yes
# show OSC window top bar: "auto", "yes", or "no" (borderless/fullscreen)
@@ -94,7 +94,7 @@ windowcontrols_title=${media-title}
# Subtitle display settings
# 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)
raise_subtitle_amount=125

View File

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