update mpv config

This commit is contained in:
2026-02-01 15:06:45 -08:00
parent e9e6dfa2d3
commit 15d55786f3
7 changed files with 49 additions and 6 deletions

View File

@@ -225,7 +225,8 @@ ctrl+B ignore # script-binding mpvacious-overwrite-selected-note
ctrl+m ignore # script-binding mpvacious-update-last-note ctrl+m ignore # script-binding mpvacious-update-last-note
ctrl+M ignore # script-binding mpvacious-overwrite-last-note ctrl+M ignore # script-binding mpvacious-overwrite-last-note
G script-binding mpvacious-quick-card-menu-open G script-binding mpvacious-quick-card-menu-open
alt+g script-binding mpvacious-quick-card-sel-menu-open alt+g ignore
alt+G script-binding mpvacious-quick-card-sel-menu-open
ctrl+c script-binding mpvacious-copy-primary-sub-to-clipboard ctrl+c script-binding mpvacious-copy-primary-sub-to-clipboard
ctrl+C script-binding mpvacious-copy-secondary-sub-to-clipboard ctrl+C script-binding mpvacious-copy-secondary-sub-to-clipboard
ctrl+= script-binding mpvacious-autocopy-toggle ctrl+= script-binding mpvacious-autocopy-toggle

View File

@@ -25,7 +25,7 @@ sub-fix-timing=yes
sub-ass-override=scale sub-ass-override=scale
sub-gauss=1.0 sub-gauss=1.0
sub-gray=yes sub-gray=yes
sub-pos=100 sub-pos=95
# --- Audio chain --- # --- Audio chain ---
volume=75 volume=75
@@ -111,6 +111,8 @@ demuxer-max-back-bytes=200MiB # Keep recent data handy for quick reverse seeks
cache-secs=30 cache-secs=30
demuxer-readahead-secs=30 demuxer-readahead-secs=30
msg-level=subs2srs=warn
[anime] [anime]
profile-desc="Anime upscaling with ArtCNN" profile-desc="Anime upscaling with ArtCNN"
glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl" glsl-shaders="~~/shaders/ArtCNN_C4F32.glsl"

View File

@@ -46,6 +46,9 @@ menu_font_name=Noto Serif CJK JP
# Change this if you have changed webBindAddress in AnkiConnect's settings. # Change this if you have changed webBindAddress in AnkiConnect's settings.
ankiconnect_url=127.0.0.1:8765 ankiconnect_url=127.0.0.1:8765
# AnkiConnect server api key (optional)
#ankiconnect_api_key=
## ##
## Toggleables. ## Toggleables.
## Possible values: `yes` or `no`. ## Possible values: `yes` or `no`.
@@ -330,3 +333,40 @@ ffmpeg_audio_args=-af loudnorm=I=-16:TP=-1.5:LRA=11:dual_mono=true
mpv_audio_args=--af-append=loudnorm=I=-16:TP=-1.5:LRA=11:dual_mono=true mpv_audio_args=--af-append=loudnorm=I=-16:TP=-1.5:LRA=11:dual_mono=true
#mpv_audio_args= #mpv_audio_args=
#mpv_audio_args=--af-append=silenceremove=1:0:-50dB #mpv_audio_args=--af-append=silenceremove=1:0:-50dB
##
## Custom Sub Filter
## Place a `subs2srs_sub_filter.lua` file
## in the `~/.config/mpv/subs2srs_sub_filter` directory.
## The custom script must return a table
## that includes either of a `preprocess` or a `trim` function (or both).
##
## - `preprocess(text)`: Executes before trimming/cleaning.
## - `trim(text)`: Replaces the built-in trimming logic.
##
# Enable custom sub preprocessing by default (yes, no)
custom_sub_filter_enabled=no
# Notification prefix for toggle
custom_sub_filter_notification=Custom Sub Filter
# Use a custom trim instead of the built in one (yes, no)
use_custom_trim=no
##
## New note check timer
##
# Enable the check note timer feature.
# If set to `yes`, mpvacious will periodically check for new notes in Anki
# and automatically update them with media if they match the configured note type
# I.e., you create a note with GoldenDict, Rikaitan, etc.,
# then mpvacious updates the note and adds audio and image automatically.
enable_new_note_timer=yes
# Interval in seconds for checking for new notes.
# This setting controls how often mpvacious checks for new notes in Anki.
# Only used when enable_new_note_timer is set to `yes`
new_note_timer_interval_seconds=5

View File

@@ -1 +1 @@
../submodules/mpv-youtube-queue/mpv-youtube-queue.lua ../../../projects/lua/mpv-youtube-queue/mpv-youtube-queue.lua