From 1d7a084a3a30c0fc15187fbda7a46037d3551a7b Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 30 Dec 2025 19:50:29 +0000 Subject: [PATCH] fix: Correct D-Bus ObjectManager path for BlueZ Co-authored-by: aider (gemini/gemini-2.5-pro) --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index e801a77..51ea4bc 100644 --- a/main.py +++ b/main.py @@ -91,8 +91,8 @@ async def trust_and_connect_device(device_path): logging.error(f'Failed to trust/connect to {device_path}: {e}') async def get_adapter(): - introspection = await bus.introspect(BLUEZ_SERVICE, '/org/bluez') - manager_obj = bus.get_proxy_object(BLUEZ_SERVICE, '/org/bluez', introspection) + introspection = await bus.introspect(BLUEZ_SERVICE, '/') + manager_obj = bus.get_proxy_object(BLUEZ_SERVICE, '/', introspection) manager_iface = manager_obj.get_interface('org.freedesktop.DBus.ObjectManager') managed_objects = await manager_iface.call_get_managed_objects()