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

@@ -46,6 +46,9 @@ menu_font_name=Noto Serif CJK JP
# Change this if you have changed webBindAddress in AnkiConnect's settings.
ankiconnect_url=127.0.0.1:8765
# AnkiConnect server api key (optional)
#ankiconnect_api_key=
##
## Toggleables.
## 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=
#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