Skip to content

Commit

Permalink
Merge pull request #261 from OpenVoiceOS/release-1.0.3a1
Browse files Browse the repository at this point in the history
Release 1.0.3a1
  • Loading branch information
JarbasAl authored Oct 21, 2024
2 parents 9ab925c + 871ce8c commit d14b4c5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
10 changes: 3 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Changelog

## [1.0.2a1](https://github.com/OpenVoiceOS/OVOS-workshop/tree/1.0.2a1) (2024-10-18)
## [1.0.3a1](https://github.com/OpenVoiceOS/OVOS-workshop/tree/1.0.3a1) (2024-10-21)

[Full Changelog](https://github.com/OpenVoiceOS/OVOS-workshop/compare/1.0.1...1.0.2a1)

**Fixed bugs:**

- lingua franca does not support standardized lang codes, it needs lower case [\#256](https://github.com/OpenVoiceOS/OVOS-workshop/issues/256)
[Full Changelog](https://github.com/OpenVoiceOS/OVOS-workshop/compare/1.0.2...1.0.3a1)

**Merged pull requests:**

- fix:lingua\_franca [\#257](https://github.com/OpenVoiceOS/OVOS-workshop/pull/257) ([JarbasAl](https://github.com/JarbasAl))
- fix:improve stop [\#260](https://github.com/OpenVoiceOS/OVOS-workshop/pull/260) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
8 changes: 7 additions & 1 deletion ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,12 @@ def _handle_session_stop(self, message: Message):
except Exception as e:
data["error"] = str(e)
self.log.exception(f'Failed to stop skill: {self.skill_id}: {e}')
if data["result"] and sess.session_id == "default":
# TODO - track if speech is coming from this skill!
# this is not currently tracked
self.bus.emit(message.reply("mycroft.audio.speech.stop",
{"skill_id": self.skill_id}))

self.bus.emit(message.reply(f"{self.skill_id}.stop.response", data))

def __handle_stop(self, message):
Expand All @@ -1247,7 +1253,7 @@ def __handle_stop(self, message):
self.bus.emit(message.forward(self.skill_id + ".stop"))
sess = SessionManager.get(message)
try:
stopped = self.stop_session(sess) or self.stop()
stopped = self.stop_session(sess) or self.stop() or False
LOG.debug(f"{self.skill_id} stopped: {stopped}")
if stopped:
self.bus.emit(message.reply("mycroft.stop.handled",
Expand Down
4 changes: 2 additions & 2 deletions ovos_workshop/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 1
VERSION_MINOR = 0
VERSION_BUILD = 2
VERSION_ALPHA = 0
VERSION_BUILD = 3
VERSION_ALPHA = 1
# END_VERSION_BLOCK

0 comments on commit d14b4c5

Please sign in to comment.