Skip to content

Commit fee23a7

Browse files
committed
actually add the record command
1 parent 16f6be3 commit fee23a7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pychannels/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ def toggle_cc(self):
7878
"""Toggle captions state and returns the current state."""
7979
return self._command('toggle_cc')
8080

81+
def toggle_record(self):
82+
"""Record the program playing on the current channel."""
83+
return self._command('toggle_record')
84+
8185
def channel_up(self):
8286
"""Change the channel and returns the current state."""
8387
return self._command('channel_up')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def read(fname):
88

99
setup(
1010
name='pychannels',
11-
version="1.2.1",
11+
version="1.2.2",
1212
packages=['pychannels',],
1313
license='The MIT License',
1414
description='API client for the Channels app - https://getchannels.com',

0 commit comments

Comments
 (0)