From bf3a2de4dc9cebd19dec0413001cb71204bb5248 Mon Sep 17 00:00:00 2001 From: diamo-dev Date: Thu, 7 Nov 2024 18:35:37 -0500 Subject: [PATCH] Update link.py --- pipewire_python/link.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipewire_python/link.py b/pipewire_python/link.py index f262cea..0953315 100644 --- a/pipewire_python/link.py +++ b/pipewire_python/link.py @@ -128,14 +128,14 @@ def _join_arguments(self, other: "Port", message: str) -> List[str]: if other.port_type == PortType.INPUT: raise InvalidLink(message.format("input")) # Valid -- Append the Output (other) First - args.append(":".join((other.device, other.name))) - args.append(":".join((self.device, self.name))) + args.append(str(other.id)) + args.append(str(self.id)) else: if other.port_type == PortType.OUTPUT: raise InvalidLink(message.format("output")) # Valid -- Append the Output (self) First - args.append(":".join((self.device, self.name))) - args.append(":".join((other.device, other.name))) + args.append(str(self.id)) + args.append(str(other.id)) return args def connect(self, other: "Port") -> None: