Coder Social home page Coder Social logo

crd / jukebox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ndg63276/alexa-youtube

8.0 8.0 2.0 23.1 MB

An Alexa skill to play audio from YouTube videos, based on alexa-youtube. Leverages python-based Lambdas interacting with the YouTube API

Python 91.19% Shell 8.81%
alexa alexa-skill aws-lambda hacktoberfest python python3

jukebox's People

Contributors

altrec avatar crd avatar jamezrin avatar katshun0307 avatar leoyodar avatar mariosumd avatar matheusavi avatar ndg63276 avatar nightkall avatar rybot666 avatar theeisbaer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jukebox's Issues

AWS lambda - jukebox.zip - [ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'lambda_function'

Currently I wanted to build the backend and fulfilled all the steps in: "The packaged zipfile is then uploaded to AWS in the usual way."
I end up with a "jukebox.zip" (8.7MB) and uploaded it to AWS lambda.
Here is how I proceed:

  • New AWS Lambda function
  • Author from scratch
  • Runtime Python 3.8
  • "Create function"
  • Code: Upload Zip
  • Test: "Create test event" (I know the JSON does not fit to the usual Alexa request but I would get the same error message:

[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'lambda_function'

Code handler is named: by default "lambda_function.lambda_handler"
Do I have to change this?
Are there any missing steps?
If there are no customizations (youtbue api key, whatever, ....) you could also provide your jukebox.zip as release.


  1. What are you saying to Alexa?: nothing yet
  2. What video are you trying to play? Please provide the youtube URL: not that far
  3. Are you running your own lambda instance, or are you using mine? (ie What is your endpoint? Is it "arn:aws:lambda:eu-west-1:175548706300:function:YouTube"?): trying to run own instance
  4. If you are running your own lambda instance, have you uploaded the latest lambda_function.zip file? This changes regularly to fix problems.: trying
  5. What language are you using? No skill set up yet

Help to use this fix

Hello, thanks a lot for your work.
how can i use this lambda?
Thanks a lot
Stefano

API key error!

Questions you need to answer
Please provide the following information:

  1. What are you saying to Alexa?
  2. What video are you trying to play? Please provide the youtube URL.
  3. Are you running your own lambda instance, or are you using mine? (ie What is your endpoint? Is it "arn:aws:lambda:eu-west-1:175548706300:function:YouTube"?)
  4. If you are running your own lambda instance, have you uploaded the latest lambda_function.zip file? This changes regularly to fix problems.
  5. What language are you using?

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.