def trigger_show(connection, show_number, await_response=False):

    """Send a serial command over the given connection to trigger playback of the given show."""

    command = "X04" + hex(show_number)[2:].upper().rjust(2,'0')
    connection.write(bytes(command, 'UTF-8'))
    if await_response:
        response = connection.readline().decode("UTF-8").strip()
        return response

    return True