examples/conf/hook.py
def on_conversation_start(event, **context):
    """
    A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music
    to make sure that your speech is properly detected.
    """
    run('music.mpd.pause_if_playing')

    A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music
    to make sure that your speech is properly detected.
    
A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music
to make sure that your speech is properly detected.
A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music to make sure that your speech is properly detected .
def on_conversation_start(event, **context):
    run('music.mpd.pause_if_playing')
def on_conversation_start ( event , ** context ) : run ( 'music.mpd.pause_if_playing' )
A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music
to make sure that your speech is properly detected.
A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music to make sure that your speech is properly detected .
"""
    A simple hook that gets invoked when a new conversation starts with a voice assistant and simply pauses the music
    to make sure that your speech is properly detected.
    """
event