Skip to content

Commit

Permalink
Merge pull request #149 from OpenVoiceOS/release-0.2.3a1
Browse files Browse the repository at this point in the history
Release 0.2.3a1
  • Loading branch information
JarbasAl authored Oct 19, 2024
2 parents 9398f1d + 7f9c7e7 commit 28e261f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 22 deletions.
14 changes: 3 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# Changelog

## [0.2.1a1](https://github.com/OpenVoiceOS/ovos-dinkum-listener/tree/0.2.1a1) (2024-09-15)
## [0.2.3a1](https://github.com/OpenVoiceOS/ovos-dinkum-listener/tree/0.2.3a1) (2024-10-19)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-dinkum-listener/compare/0.2.0a1...0.2.1a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-dinkum-listener/compare/0.2.2...0.2.3a1)

**Merged pull requests:**

- fix:prefer\_alsa [\#144](https://github.com/OpenVoiceOS/ovos-dinkum-listener/pull/144) ([JarbasAl](https://github.com/JarbasAl))

## [0.2.0a1](https://github.com/OpenVoiceOS/ovos-dinkum-listener/tree/0.2.0a1) (2024-09-11)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-dinkum-listener/compare/0.1.3...0.2.0a1)

**Merged pull requests:**

- feat:fallback plugins [\#138](https://github.com/OpenVoiceOS/ovos-dinkum-listener/pull/138) ([JarbasAl](https://github.com/JarbasAl))
- fix:save utterances [\#148](https://github.com/OpenVoiceOS/ovos-dinkum-listener/pull/148) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
14 changes: 6 additions & 8 deletions ovos_dinkum_listener/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,16 +692,14 @@ def _save_stt(self, audio_bytes, stt_meta, save_path=None):
@formatter.register('md5')
def transcription_md5():
# Build a hash of the transcription

try:
# handles legacy API
text = stt_meta.get('transcription')
except KeyError:
# handles new API
# transcriptions should be : List[Tuple[str, int]]
try:
text = stt_meta.get('transcriptions')[0][0]
except IndexError:
return 'null'
text = stt_meta.get('transcriptions')[0][0]
except IndexError:
# handles legacy API
return stt_meta.get('transcription') or 'null'

return hash_sentence(text)

filename = formatter.format(utterance_filename)
Expand Down
4 changes: 2 additions & 2 deletions ovos_dinkum_listener/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 2
VERSION_BUILD = 2
VERSION_ALPHA = 0
VERSION_BUILD = 3
VERSION_ALPHA = 1
# END_VERSION_BLOCK
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ovos-plugin-manager>=0.3.1,<1.0.0
ovos-utils>=0.0.38,<1.0.0
ovos-config>=0.2.1,<1.0.0
ovos-config>=0.4.3,<1.0.0
ovos_bus_client>=0.0.10,<1.0.0
SpeechRecognition~=3.9

0 comments on commit 28e261f

Please sign in to comment.