Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after command for all domains #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Shulyaka
Copy link

Currently the code supports executing arbitrary commands after wake and asr commands.
It can be configured the following way:

pipelines:
  default:
    asr:
      name: faster-whisper.client
      after:
        command: |
          date +"%F %T,%3N after asr"
    wake:
      name: porcupine1
      after:
        command: |
          date +"%F %T,%3N after wake"

This PR adds support for the "after commands" for all other domains in a similar way.
They can be used for notification sounds, for flashing the led while rhasspy is listening, thinking, or speaking, also for logging or cleanup purposes where needed and other customization without the need to modify the code.

@Shulyaka
Copy link
Author

It appears to be duplicate of #17 (but covers more domains though)

@Shulyaka Shulyaka changed the title after command for all domains after command for all domains Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant