From 6e9cc7b27da4eeb998ed265182c72e5143e7ee9a Mon Sep 17 00:00:00 2001 From: miro Date: Sun, 17 Nov 2024 15:48:07 +0000 Subject: [PATCH] fix/search_from_GUI --- ocp_pipeline/opm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocp_pipeline/opm.py b/ocp_pipeline/opm.py index deb903f..370f904 100644 --- a/ocp_pipeline/opm.py +++ b/ocp_pipeline/opm.py @@ -483,7 +483,7 @@ def handle_play_search(self, message: Message): LOG.info("searching and playing best OCP result") utterance = message.data["utterance"].lower() match = self._process_play_query(utterance, self.lang, {"conf": 1.0}) - self.bus.emit(message.forward(match.intent_type, match.intent_data)) + self.bus.emit(message.forward(match.match_type, match.match_data)) def handle_play_favorites_intent(self, message: Message): LOG.info("playing favorite tracks")