Skip to content

Commit

Permalink
actually add the record command
Browse files Browse the repository at this point in the history
  • Loading branch information
maddox committed Aug 7, 2020
1 parent 16f6be3 commit fee23a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pychannels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def toggle_cc(self):
"""Toggle captions state and returns the current state."""
return self._command('toggle_cc')

def toggle_record(self):
"""Record the program playing on the current channel."""
return self._command('toggle_record')

def channel_up(self):
"""Change the channel and returns the current state."""
return self._command('channel_up')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read(fname):

setup(
name='pychannels',
version="1.2.1",
version="1.2.2",
packages=['pychannels',],
license='The MIT License',
description='API client for the Channels app - https://getchannels.com',
Expand Down

0 comments on commit fee23a7

Please sign in to comment.