File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,12 +350,12 @@ def pause(self):
350350 return (yield from self .play_control (2 ))
351351
352352 @asyncio .coroutine
353- def next (self ):
353+ def forward (self ):
354354 """Next media."""
355355 return (yield from self .play_control (3 ))
356356
357357 @asyncio .coroutine
358- def prev (self ):
358+ def rewind (self ):
359359 """Previous media."""
360360 return (yield from self .play_control (4 ))
361361
Original file line number Diff line number Diff line change @@ -139,11 +139,11 @@ def test_play():
139139 status = yield from afsapi .get_play_status ()
140140 print ('Status: %s' % status )
141141
142- anext = yield from afsapi .next ()
143- print ('Next succeeded? - %s' % anext )
142+ forward = yield from afsapi .forward ()
143+ print ('Next succeeded? - %s' % forward )
144144
145- prev = yield from afsapi .prev ()
146- print ('Prev succeeded? - %s' % prev )
145+ rewind = yield from afsapi .rewind ()
146+ print ('Prev succeeded? - %s' % rewind )
147147 except Exception as e :
148148 logging .error (traceback .format_exc ())
149149
Original file line number Diff line number Diff line change 2626]
2727
2828setup (name = 'afsapi' ,
29- version = '0.0.2 ' ,
29+ version = '0.0.3 ' ,
3030 description = 'Asynchronous Implementation of the Frontier Silicon API' ,
3131 author = 'Krasimir Zhelev' ,
3232 author_email = 'krasimir.zhelev@gmail.com' ,
You can’t perform that action at this time.
0 commit comments