�
�Udac @` s� d d l m Z m Z m Z e Z d Z d d l Z d d l Z d d l
Z
d d l Z d d l m
Z
d e
f d � � YZ d S( i ( t absolute_importt divisiont print_functions�
callback: say
type: notification
requirements:
- whitelisting in configuration
- the '/usr/bin/say' command line program (standard on macOS) or 'espeak' command line program
short_description: notify using software speech synthesizer
version_added: historical
description:
- This plugin will use the 'say' or 'espeak' program to "speak" about play events.
notes:
- In 2.8, this callback has been renamed from C(osx_say) into M(say).
N( t CallbackBaset CallbackModulec B` s� e Z d Z d Z d Z d Z e Z d � Z d � Z e
d � Z d � Z d d � Z d � Z d
� Z d � Z d � Z d
� Z d � Z d � Z d � Z d � Z RS( s+
makes Ansible much more exciting.
g @t notificationt sayc C` s t t | � j � d | _ d | _ d | _ d | _ t j j
d � | _ | j s� t j j
d � | _ | j r� d | _ d | _ d | _ q� nS t j
� d k r� | j j d t j
� � n$ d | _ d | _ d
| _ d | _ | j st | _ | j j d t j j t � � n d S(
NR t espeakt klattt f5t whispert DarwinsC 'say' executable found but system is '%s': ignoring voice parametert Zarvoxt Trinoidst Cellost PrincesssF Unable to find either 'say' or 'espeak' executable, plugin %s disabled( t superR t __init__t Nonet FAILED_VOICEt
REGULAR_VOICEt HAPPY_VOICEt LASER_VOICEt distutilst spawnt find_executablet synthesizert platformt systemt _displayt warningt Truet disabledt ost patht basenamet __file__( t self( ( sD /usr/lib/python2.7/site-packages/ansible/plugins/callback/osx_say.pyR ( s* c C` s<