コード例 #1
0
ファイル: wsgi.py プロジェクト: irvingwa/kodi-alexa
def alexa_player_zoom_in(slots):
    print('Player zoom in')
    sys.stdout.flush()

    kodi.PlayerZoomIn()
    answer = ""
    return build_alexa_response(answer)
コード例 #2
0
def alexa_player_zoom_in_move_down(slots):
    card_title = 'Player zoom in and move down'
    sys.stdout.flush()

    kodi.PlayerZoomIn()
    kodi.PlayerMoveDown()
    answer = ""
    return build_alexa_response(answer, card_title)
コード例 #3
0
def alexa_player_zoom_in(slots):
    card_title = 'Player zoom in'
    print card_title
    sys.stdout.flush()

    kodi.PlayerZoomIn()
    answer = ""
    return build_alexa_response(answer, card_title)
コード例 #4
0
ファイル: wsgi.py プロジェクト: irvingwa/kodi-alexa
def alexa_player_zoom_in_move_right(slots):
    print('Player zoom in and move right')
    sys.stdout.flush()

    kodi.PlayerZoomIn()
    kodi.PlayerMoveRight()
    answer = ""
    return build_alexa_response(answer)
コード例 #5
0
def alexa_player_zoom_in_move_left(slots):
    card_title = 'Player zoom in and move left'
    print card_title
    sys.stdout.flush()

    kodi.PlayerZoomIn()
    kodi.PlayerMoveLeft()
    answer = ""
    return build_alexa_response(answer, card_title)