Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Fantasy wish list for features? #11

Open
gregglind opened this issue Aug 20, 2017 · 7 comments
Open

Fantasy wish list for features? #11

gregglind opened this issue Aug 20, 2017 · 7 comments
Assignees

Comments

@gregglind
Copy link

@dmhacker how would you WANT THIS SKILL to work / be architected, if you could do anything? For me, YouTube has good search, huge availability to content, but the video to audio transforming step is weirdly stupid and wasteful. I wonder if using a 3rd party MP3 censersion service would make the setup and deploy easier?

@dmhacker
Copy link
Owner

That would be nice and certainly is possible. The only issue with using a 3rd party service is that they may not have very clean API's and may enforce rate limits. The server that I'm using right now to convert people's videos to audio doesn't have those restrictions. Additionally, the audio transforming step with ffmpeg is necessary so that Alexa can play the mp3 file. Without this step, Alexa wouldn't be able to play the audio; this was actually an issue for a while. Do you know of anything that could be used to circumvent this though?

@dionbreg
Copy link

Hi. How can I setup a slot (or any other way of doing this) so that YouTube plays a particular playlist (for example, my YouTube favorites playlist)?. I have tried giving my playlist a unique name on YouTube, but a can't get it to work. Thanks for your help.

@dmhacker
Copy link
Owner

@dionbreg There is not currently functionality for this. I will consider adding at a later date. Perhaps make a new issue with this specifically?

@dionbreg
Copy link

dionbreg commented Nov 26, 2017 via email

This was referenced Jan 21, 2018
@dmhacker dmhacker self-assigned this Jan 21, 2018
This was referenced Jan 21, 2018
@dmhacker
Copy link
Owner

dmhacker commented Jan 21, 2018

Enhancements to be made in the future:

  • Improve performance/bandwidth usage by downloading audio directly rather than converting from video to audio
  • Implement HelpIntent so that users can get an overview of how to query the skill
  • Add support for French
  • Add support for Echo Show (requires video output from the server)
  • Enable YouTube tracks to be played rather than just individual songs
  • Add HTTPS support so the skill doesn't have to be run from Lambda

These are given in order of priority.

This was referenced Mar 11, 2018
@dmhacker
Copy link
Owner

dmhacker commented Mar 26, 2018

Intermediate conversion between video and audio files has been removed. ffmpeg directly processes the stream.

See dmhacker/dmhacker-youtube@7a17c75.

The server no longer has any reliance on ffmpeg at all. Audio is downloaded directly from YouTube using itag value '140' (128 kbps) and is saved to an m4a file.

See dmhacker/dmhacker-youtube@3c235c6

@badbob001
Copy link

It would be nice to treat the search results itself as a playlist and allow for continuous playback of the results. This should include support for next, previous, repeat, loop, etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants