From 44eb29b22656d7f262a016af77f3244a141e7f6e Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 26 Sep 2025 08:47:41 +0200 Subject: [PATCH] Update mpv configuration --- playbook.yml | 2 ++ templates/personal/all/mpv/config.j2 | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/playbook.yml b/playbook.yml index be8a56a..54813d6 100644 --- a/playbook.yml +++ b/playbook.yml @@ -14,6 +14,7 @@ ansible.builtin.import_tasks: 'tasks/setup.yml' tags: setup + # TODO: provision ssh client config with modern cyphers - name: Network provisioning ansible.builtin.import_tasks: 'tasks/network.yml' tags: network @@ -47,6 +48,7 @@ ansible.builtin.import_tasks: 'tasks/personal/all/syncthing.yml' tags: syncthing + # TODO: provision current macvlan setup - name: Desktop provisioning ansible.builtin.import_tasks: 'tasks/personal/desktop.yml' when: ansible_hostname == 'desktop' diff --git a/templates/personal/all/mpv/config.j2 b/templates/personal/all/mpv/config.j2 index c51a293..cb9323b 100644 --- a/templates/personal/all/mpv/config.j2 +++ b/templates/personal/all/mpv/config.j2 @@ -1,13 +1,14 @@ # {{ ansible_managed }} # -volume=100 -sub-auto=fuzzy gpu-api=opengl vo=gpu hwdec=vaapi audio-samplerate=128000 audio-format=s64 +volume=100 -# Do not close the window on exit -keep-open=yes +keep-open=yes # do not close the window on exit +keepaspect-window=no # add black bars if window aspect and video aspect mismatch + +sub-auto=fuzzy # load all subs containing the media filename