Giter Club home page Giter Club logo

kingsgatemediaplayer-amazonalexa's Introduction

KingsgateMediaPlayer-AmazonAlexa

Build Status| codecov.io

kingsgatemediaplayer-amazonalexa's People

Contributors

jonburney avatar jayvolr avatar

Stargazers

Alex King avatar Francesco Facconi avatar Adnan Ullah avatar Alex Ellis avatar

Watchers

James Cloos avatar  avatar

kingsgatemediaplayer-amazonalexa's Issues

Announce speaker before playing sermon

Right now the RSS reader doesn't support the itunes:author tag because it has no xmlns support so it can't pull the speaker name.

  1. Replace the rss-feed lib with a custom implementation
  2. Announce the speaker name after the sermon title e.g. "Playing sermon title by speaker name"

Enable playback of other entries

Currently it's only possible to play the latest sermon. It should be possible to:

  1. Play next
  2. Play previous
  3. Shuffle On
  4. Shuffle Off

AudioPlayer.PlaybackNearlyFinished is unhandled

When the device emits a AudioPlayer.PlaybackNearlyFinished request (to enqueue the next track) the request is marked as unhandled. See: https://developer.amazon.com/docs/custom-skills/audioplayer-interface-reference.html#playbacknearlyfinished

Example request

{ 
    type: 'AudioPlayer.PlaybackNearlyFinished',
    requestId: 'amzn1.echo-api.request.93d2365d-ce82-4d12-84e5-14dd2d336873',
    timestamp: '2018-01-24T12:33:58Z',
    locale: 'en-GB',
    token: 'Joshua - Take Down Fear by Joshua Gardiner',
    offsetInMilliseconds: 0 
}

To compound this, the un-handled request flow emits a speak directive which cannot be emitted for a AudioPlayer.PlaybackNearlyFinished request

{ 
    type: 'System.ExceptionEncountered',
    requestId: 'amzn1.echo-api.request.2ff75fe4-deb7-409d-9fb6-f137b498b91e',
    timestamp: '2018-01-24T12:33:59Z',
    locale: 'en-GB',
    error: { 
        type: 'INVALID_RESPONSE',
        message: 'The following directives are not supported: Response may not contain an         outputSpeech,Response may not contain an reprompt,Response may not have shouldEndSession set to false' 
    },
    cause: { 
        requestId: 'amzn1.echo-api.request.93d2365d-ce82-4d12-84e5-14dd2d336873' 
    } 
}

Enable fast-forward / rewind

It should be possible to handle intents that skip back/forward a certain number of minutes via a slot. The utterances would be

"Alexa, skip back" (default to 30 sec)
"Alexa, skip back {SLOT} minute
"Alexa, jump forward" (default to 30 sec)
"Alexa, jump forward {SLOT} minute

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.