From cc3f0d50c4257e1c1cd661194ebf17a3d5a219d4 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 20 Aug 2021 16:45:11 +0200 Subject: [PATCH] add the MPV input_config --- files/mpv_input.conf | 1 + tasks/main.yml | 7 ++++++- vars/main.yml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 files/mpv_input.conf diff --git a/files/mpv_input.conf b/files/mpv_input.conf new file mode 100644 index 0000000..1a47f75 --- /dev/null +++ b/files/mpv_input.conf @@ -0,0 +1 @@ +s playlist-shuffle diff --git a/tasks/main.yml b/tasks/main.yml index adeb138..6bf285e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -22,7 +22,7 @@ state: present - name: "Add the apt key for Visual Studio Code" - apt_key: + apt_key: url: "https://packages.microsoft.com/keys/microsoft.asc" state: present @@ -35,3 +35,8 @@ apt: name: "code" update_cache: yes + +- name: "Copy the MPV config" + copy: + src: "mpv_input.conf" + dest: "/home/{{ user }}/.config/mpv/input.conf" diff --git a/vars/main.yml b/vars/main.yml index e42e838..d518f50 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -26,3 +26,5 @@ packages: pip3_packages: - youtube-dl + +user: andreas