Broke type conversion out into hooke.util.convert and expanded its use.
[hooke.git] / hooke / plugin / playlists.py
index 44bbe923074eb75c1672ea39aa995b518d0d8c75..2ba4ecfe342cab3ec6c27af3ac5748ff4e33fc77 100644 (file)
@@ -71,7 +71,7 @@ Index of target curve.
             help=self.__doc__, plugin=plugin)
 
     def _run(self, hooke, inqueue, outqueue, params):
-       hooke.playlists.jump(int(params['index'])) # HACK, int() should be handled by ui
+       hooke.playlists.jump(params['index'])
 
 class IndexCommand (Command):
     """Print the index of the current playlist.