From 63acf479513bf1c33905c1e7a8ed33d0700bab37 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 4 Jul 2022 16:36:13 +0200 Subject: [PATCH] Apparently symbolic links do not work --- .config/mpv/input.conf | 21 ++++++++++++++++++++- .config/mpv/mpv.conf | 13 ++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) mode change 120000 => 100755 .config/mpv/input.conf mode change 120000 => 100755 .config/mpv/mpv.conf diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf deleted file mode 120000 index 82bd36a..0000000 --- a/.config/mpv/input.conf +++ /dev/null @@ -1 +0,0 @@ -/home/tom/.config/mpv/input.conf \ No newline at end of file diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100755 index 0000000..8db17c9 --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,20 @@ +WHEEL_DOWN ignore +WHEEL_UP ignore +Shift+b cycle border + +' script-binding console/enable # open the console + +[ add speed -0.1 +] add speed 0.1 +{ add speed -0.5 +} add speed 0.5 + +#anime 4k low end +CTRL+1 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_M.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl;~~/shaders/Anime4K_AutoDownscalePre_x2.glsl;~~/shaders/Anime4K_AutoDownscalePre_x4.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-text "Anime4K: Mode A (Fast)" +CTRL+2 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl;~~/shaders/Anime4K_AutoDownscalePre_x2.glsl;~~/shaders/Anime4K_AutoDownscalePre_x4.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-text "Anime4K: Mode B (Fast)" +CTRL+3 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_M.glsl;~~/shaders/Anime4K_AutoDownscalePre_x2.glsl;~~/shaders/Anime4K_AutoDownscalePre_x4.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-text "Anime4K: Mode C (Fast)" +CTRL+4 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_M.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl;~~/shaders/Anime4K_Restore_CNN_S.glsl;~~/shaders/Anime4K_AutoDownscalePre_x2.glsl;~~/shaders/Anime4K_AutoDownscalePre_x4.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-text "Anime4K: Mode A+A (Fast)" +CTRL+5 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl;~~/shaders/Anime4K_AutoDownscalePre_x2.glsl;~~/shaders/Anime4K_AutoDownscalePre_x4.glsl;~~/shaders/Anime4K_Restore_CNN_Soft_S.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-text "Anime4K: Mode B+B (Fast)" +CTRL+6 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_M.glsl;~~/shaders/Anime4K_AutoDownscalePre_x2.glsl;~~/shaders/Anime4K_AutoDownscalePre_x4.glsl;~~/shaders/Anime4K_Restore_CNN_S.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-text "Anime4K: Mode C+A (Fast)" + +CTRL+0 no-osd change-list glsl-shaders clr ""; show-text "GLSL shaders cleared" diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf deleted file mode 120000 index 1ab5277..0000000 --- a/.config/mpv/mpv.conf +++ /dev/null @@ -1 +0,0 @@ -/home/tom/.config/mpv/mpv.conf \ No newline at end of file diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100755 index 0000000..432d946 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,12 @@ +#hardware decoding +hwdec=auto-safe + +#subtitle settings +sub-auto=fuzzy +sub=auto + +#yt-dl +script-opts=ytdl_hook-ytdl_path=yt-dlp +ytdl-format=bestvideo[width<=2560][height<=1440]+bestaudio/best + +keep-open=yes -- 2.39.5