From 845662e4ccf5b89b11ce75fb7b7375edc978e830 Mon Sep 17 00:00:00 2001 From: Michel Hidalgo Date: Tue, 25 Jun 2024 18:46:23 -0300 Subject: [PATCH] Fix AudioWrapper.list_sounds() Signed-off-by: Michel Hidalgo --- spot_wrapper/cam_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spot_wrapper/cam_wrapper.py b/spot_wrapper/cam_wrapper.py index dc317d1c..4419c07e 100644 --- a/spot_wrapper/cam_wrapper.py +++ b/spot_wrapper/cam_wrapper.py @@ -261,7 +261,7 @@ def list_sounds(self) -> typing.List[str]: Returns: List of names of available sounds """ - return self.client.list_sounds() + return [sound.name for sound in self.client.list_sounds()] def set_volume(self, percentage): """