Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to tune to any numeric channel, play, pause and stop functions to media player. #341

Closed
wants to merge 3 commits into from

Conversation

Dilbert66
Copy link

@Dilbert66 Dilbert66 commented May 9, 2020

With the support for changing channels now available in the Alexa component, the additions of these extra functions in media_play.py will now allow a user to say "Alexa, tune to channel 125 on TV" or say "Alexa tune to CityTV on TV" , or "Alexa, Pause DVR", etc. The functions will then send the appropriate digits sequentially to the selected controller.

The changes needed in the codes files to support this require the addition of codes for each individual key. ie key_0, key_1, key_2, enter,play,pause,stop, etc in the commands section.

Optionally, the addition of a channels subsection will add the ability to tune by channel name from Alexa. ie: "channels": {
"city": "7",
"citytv": "7",
"pulse24": "24",
"amc": "31",
}

@lgtm-com
Copy link
Contributor

lgtm-com bot commented May 9, 2020

This pull request introduces 1 alert and fixes 1 when merging 6fade2c into 2e51a3e - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 1 for Unused import

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Jun 8, 2020

This pull request introduces 1 alert and fixes 1 when merging 8e6a191 into 96e29f6 - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 1 for Unused import

functions  to media_player.py

 # Please enter the commit message for your changes. Lines starting
@nagyrobi
Copy link
Contributor

+1 for this

@stale
Copy link

stale bot commented Sep 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 4, 2020
@stale stale bot closed this Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants