Skip to content

Commit

Permalink
fix/search_from_GUI (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Nov 17, 2024
1 parent ffc9f43 commit f408feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocp_pipeline/opm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f408feb

Please sign in to comment.