Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Refactor mimic_tts to not load config when importing #2888

Commits on Apr 28, 2021

  1. Refactor mimic_tts to not load config when importing

    Hitting the entire configuration fetching routine with call to the
    backend is not polite to do when just importing the file. This moves the
    config lookup out of the global scope and into special functions for
    finding the mimic binary and looking up the data path for the subscriber
    voices.
    forslund committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    5d68309 View commit details
    Browse the repository at this point in the history
  2. Be more defensive when loading mimic config

    Default config will generally always have a mimic block but in
    combination with newer Mycroft variants a more defensive approach is
    probably good
    forslund committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    d884da5 View commit details
    Browse the repository at this point in the history