|
self.play_args = play_args or ["paplay"] |
In the above code, play_args can override the default of ["paplay"], but it comes from the __init__() kwargs. Since self.config can't be accessed in a plugin until super().__init__() is called, it's not possible to pass this configuration from a plugin config.
Ideally the default would be the global player instead of hardcoded paplay to allow for other playback systems
ovos-plugin-manager/ovos_plugin_manager/templates/tts.py
Line 821 in 8244ec5
In the above code,
play_argscan override the default of["paplay"], but it comes from the__init__()kwargs. Sinceself.configcan't be accessed in a plugin untilsuper().__init__()is called, it's not possible to pass this configuration from a plugin config.Ideally the default would be the global player instead of hardcoded
paplayto allow for other playback systems