From b8d8f6b6439fe1888eba66bf7112307483941844 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sun, 8 Dec 2024 14:43:39 +0100 Subject: [PATCH 1/2] Update requirements --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index ba54c45..b20eeb6 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,4 +1,4 @@ -- src: git+https://git.fudiggity.nl/ansible/common.git +- src: git+https://forgejo.fudiggity.nl/sonny/common-ansible.git name: common version: master scm: git From bd7b0bd9553a4d12df94080fbbe9256b897ab412 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Mon, 9 Dec 2024 08:17:51 +0100 Subject: [PATCH 2/2] Include support for visualizer --- templates/mpd/mpd.conf.j2 | 6 ++++++ templates/mpd/ncmpcpp/config.j2 | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/templates/mpd/mpd.conf.j2 b/templates/mpd/mpd.conf.j2 index d99b7d4..af43ed2 100644 --- a/templates/mpd/mpd.conf.j2 +++ b/templates/mpd/mpd.conf.j2 @@ -18,6 +18,12 @@ audio_output { dsd "yes" } +audio_output { + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" +} + input { enabled "no" plugin "tidal" diff --git a/templates/mpd/ncmpcpp/config.j2 b/templates/mpd/ncmpcpp/config.j2 index f532ff1..865a549 100644 --- a/templates/mpd/ncmpcpp/config.j2 +++ b/templates/mpd/ncmpcpp/config.j2 @@ -18,6 +18,12 @@ connected_message_on_startup = no display_bitrate = yes +visualizer_data_source = "/tmp/mpd.fifo" +visualizer_output_name = "my_fifo" +visualizer_in_stereo = "yes" +visualizer_type = "spectrum" +visualizer_look = "+|" + ############## Theme ################### user_interface = classic