summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/mpv/input.conf6
-rw-r--r--.config/mpv/mpv.conf23
2 files changed, 29 insertions, 0 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf
new file mode 100644
index 0000000..f0cc7dd
--- /dev/null
+++ b/.config/mpv/input.conf
@@ -0,0 +1,6 @@
+alt+l cycle-values loop-playlist "inf" "no"
+
+ctrl+f script-binding quality_menu/video_formats_toggle
+alt+f script-binding quality_menu/audio_formats_toggle
+
+alt+w cycle-values force-window "yes" "no"
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
new file mode 100644
index 0000000..49db921
--- /dev/null
+++ b/.config/mpv/mpv.conf
@@ -0,0 +1,23 @@
+volume-max=200
+replaygain=track
+# Print path when playing a media
+term-playing-msg='PATH:= ${path}'
+# Turn off gapless so that replaygain applies to individual files.
+gapless-audio=no
+
+screenshot-format=png
+
+slang=en
+
+ytdl-format=bestvideo*[height<=1080]+bestaudio/best[height<=1080]/best
+
+[one_album]
+profile-desc="Play an album using its replaygain and with gapless-audio"
+profile-restore=copy-equal
+replaygain=album
+gapless-audio=weak
+
+[auto_fullscreen]
+profile-desc="Auto set fullscreen if large enough"
+profile-cond="height >= 1080 or width >= 1920"
+fullscreen=yes