install an extract loudness meter dock

This commit is contained in:
L3D 2024-02-26 22:36:50 +01:00
parent 99ad3ccf98
commit 7f50ace44f
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
3 changed files with 19 additions and 5 deletions

View File

@ -0,0 +1,15 @@
- name: Check if already installed
ansible.windows.win_stat:
path: 'C:\Program Files\obs-studio\obs-plugins\64bit\obs-loudness-dock.dll'
register: _installed
- name: Check if already installed
ansible.builtin.debug:
msg: "{{ _installed['stat']['exists'] }}"
verbosity: 1
- name: Unzip Loudness Dock Plugin
community.windows.win_unzip:
src: '{{ win_streamdeck__root }}\loundness\obs-loudness-dock-0.2.1-obs28-Windows.zip'
dest: 'C:\Program Files\obs-studio\'
when: not _installed['stat']['exists']

View File

@ -6,3 +6,7 @@
- name: Download plugin
ansible.builtin.include_tasks:
file: 'plugin.yml'
- name: Install to OBS dir
ansible.builtin.include_tasks:
file: 'install.yml'

View File

@ -3,8 +3,3 @@
ansible.windows.win_get_url:
url: 'https://github.com/norihiro/obs-loudness-dock/releases/download/0.2.1/obs-loudness-dock-0.2.1-obs28-Windows.zip'
dest: '{{ win_loundnessdoc__root }}\loundness\obs-loudness-dock-0.2.1-obs28-Windows.zip'
- name: Unzip Loudness Dock Plugin
community.windows.win_unzip:
src: '{{ win_streamdeck__root }}\loundness\obs-loudness-dock-0.2.1-obs28-Windows.zip'
dest: 'C:\Program Files\obs-studio\'