From 8380ba19abbd5a3ef77ba1995c14a00209718603 Mon Sep 17 00:00:00 2001
From: Loxbie <ole@freirad.at>
Date: Wed, 29 May 2024 10:39:50 +0200
Subject: [PATCH] Chore: rename host ports

---
 config/pipewire/pipewire.conf | 8 ++++----
 scripts/entrypoint.sh         | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/config/pipewire/pipewire.conf b/config/pipewire/pipewire.conf
index 610e769..95f7d9a 100644
--- a/config/pipewire/pipewire.conf
+++ b/config/pipewire/pipewire.conf
@@ -249,8 +249,8 @@ context.objects = [
     { factory = adapter
     args = {
         factory.name           = api.alsa.pcm.source
-        node.name              = "system"
-        node.description       = "system"
+        node.name              = "aura_host"
+        node.description       = "aura_host"
         media.class            = "Audio/Source"
         api.alsa.path          = "hw:0"
         #api.alsa.period-size   = 0
@@ -312,8 +312,8 @@ context.objects = [
      { factory = adapter
         args = {
             factory.name           = api.alsa.pcm.sink
-            node.name              = "system"
-            node.description       = "system"
+            node.name              = "aura_host"
+            node.description       = "aura_host"
             media.class            = "Audio/Sink"
             api.alsa.path          = "hw:0"
             #api.alsa.period-size   = 0
diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh
index e791c10..a5a25e2 100755
--- a/scripts/entrypoint.sh
+++ b/scripts/entrypoint.sh
@@ -9,8 +9,8 @@ LIQUIDSOAP_PID=$!
 
 # wait and link ports?
 sleep 5
-pw-link "lineout_0:out_0" "system:playback_FL"
-pw-link "lineout_0:out_1" "system:playback_FR"
+pw-link "lineout_0:out_0" "aura_host:playback_FL"
+pw-link "lineout_0:out_1" "aura_host:playback_FR"
 
 # Wait for the liquidsoap process to exit
 wait $LIQUIDSOAP_PID
-- 
GitLab