summary refs log tree commit diff
path: root/.config/mpv/script-opts
diff options
context:
space:
mode:
Diffstat (limited to '.config/mpv/script-opts')
-rw-r--r--.config/mpv/script-opts/playlist_view.conf16
-rw-r--r--.config/mpv/script-opts/subs2srs.conf13
-rw-r--r--.config/mpv/script-opts/thumbfast.conf19
-rw-r--r--.config/mpv/script-opts/uosc.conf10
-rw-r--r--.config/mpv/script-opts/webm.conf3
5 files changed, 61 insertions, 0 deletions
diff --git a/.config/mpv/script-opts/playlist_view.conf b/.config/mpv/script-opts/playlist_view.conf
new file mode 100644
index 0000000..fcec2f0
--- /dev/null
+++ b/.config/mpv/script-opts/playlist_view.conf
@@ -0,0 +1,16 @@
+start_on_file_end=no
+
+gallery_position={ 0, 0 }
+gallery_size={ ww, wh }
+
+background_color=101010
+background_opacity=33
+
+UP=k
+DOWN=j
+LEFT=h
+RIGHT=l
+PAGE_UP=PGUP
+PAGE_DOWN=PGDWN
+FIRST=g-g
+LAST=G
diff --git a/.config/mpv/script-opts/subs2srs.conf b/.config/mpv/script-opts/subs2srs.conf
new file mode 100644
index 0000000..09e2af4
--- /dev/null
+++ b/.config/mpv/script-opts/subs2srs.conf
@@ -0,0 +1,13 @@
+autoclip=yes
+
+deck_name=subs2srs
+model_name=Japanese sentences
+sentence_field=SentKanji
+secondary_field=SentEng
+audio_field=SentAudio
+image_field=Image
+note_tag=subs2srs
+
+use_ffmpeg=yes
+snapshot_format=webp
+opus_container=webm
diff --git a/.config/mpv/script-opts/thumbfast.conf b/.config/mpv/script-opts/thumbfast.conf
new file mode 100644
index 0000000..5f5a2a6
--- /dev/null
+++ b/.config/mpv/script-opts/thumbfast.conf
@@ -0,0 +1,19 @@
+# Apply tone-mapping, no to disable
+# TODO: no required, see https://github.com/po5/thumbfast/issues/135
+tone_mapping=no
+
+# Enable on network playback
+network=no
+
+# Enable hardware decoding
+hwdec=yes
+
+# Spawn thumbnailer earlier for faster loads
+spawn_first=yes
+
+# Make smaller thumbnails
+max_height=150
+max_width=150
+
+# Increase display size
+scale_factor=1.2
diff --git a/.config/mpv/script-opts/uosc.conf b/.config/mpv/script-opts/uosc.conf
new file mode 100644
index 0000000..0ed5f6e
--- /dev/null
+++ b/.config/mpv/script-opts/uosc.conf
@@ -0,0 +1,10 @@
+border_radius=1
+controls=menu,gap,subtitles,<has_many_audio>audio,<has_many_video>video,<has_many_edition>editions,<stream>stream-quality,<has_chapter>chapters,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next
+controls_size=24
+pause_indicator=none
+timeline_size=32
+top_bar=always
+top_bar_size=32
+top_bar_alt_title=${filename}
+top_bar_flash_on=audio,image,video
+volume_size=32
diff --git a/.config/mpv/script-opts/webm.conf b/.config/mpv/script-opts/webm.conf
new file mode 100644
index 0000000..90b4aae
--- /dev/null
+++ b/.config/mpv/script-opts/webm.conf
@@ -0,0 +1,3 @@
+output_format=av1
+output_directory=~
+output_template=[%s-%e]--%T