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

Add some new calls #28

Merged
merged 10 commits into from
Jan 13, 2020
Merged

Add some new calls #28

merged 10 commits into from
Jan 13, 2020

Conversation

dagavi
Copy link
Contributor

@dagavi dagavi commented Jan 4, 2020

Added:
set_channel_with_id(string: channelID) # Opens the channel
channel_list: Returns all the channels
get_current_channel: Returns the current channel
get_current_program: Returns the curent channel + EPG data

Control:
play, pause, rewind, fastforward and stop

Add a try/catch in a import to have Python2 and Python3 support

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 85.032% when pulling 86f6334 on dagavi:master into e73438c on supersaiyanmode:master.

@@ -227,7 +244,7 @@ class ApplicationControl(WebOSControlBase):
"args": [],
"kwargs": {},
"payload": {},
"validity": lambda p: p.pop("returnValue"),
"validation": standard_validation,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line had two separate super dumb mistakes. Thanks so much for fixing this.

@supersaiyanmode
Copy link
Owner

Hi @dagavi, thanks so much for this PR. Let me know if there are more changes coming. If not, I'll merge your PR in. 👍

@dagavi
Copy link
Contributor Author

dagavi commented Jan 13, 2020

At this moment I will not make more changes

@supersaiyanmode supersaiyanmode merged commit e3724ee into supersaiyanmode:master Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants