Beispiel #1
0
def alexa_audiostream_previous(slots):
    print('Switching to previous audio stream')
    sys.stdout.flush()

    kodi.AudioStreamPrevious()
    answer = kodi.GetCurrentAudioStream()
    return build_alexa_response(answer)
Beispiel #2
0
def alexa_audiostream_next(slots):
    print('Switching to next audio stream')
    sys.stdout.flush()

    kodi.AudioStreamNext()
    answer = kodi.GetCurrentAudioStream()
    return build_alexa_response(answer)