help=self.__doc__, plugin=plugin)
def _run(self, hooke, inqueue, outqueue, params):
- self._playlist(hooke, params).save(
- os.path.expanduser(params['output']))
+ self._playlist(hooke, params).save(params['output'])
class LoadCommand (PlaylistAddingCommand):
help=self.__doc__, plugin=plugin)
def _run(self, hooke, inqueue, outqueue, params):
- p = load(os.path.expanduser(path=params['input']),
- drivers=params['drivers'], hooke=hooke)
+ p = load(path=params['input'], drivers=params['drivers'], hooke=hooke)
self._set_playlist(hooke, params, p)
outqueue.put(p)
def _run(self, hooke, inqueue, outqueue, params):
self._playlist(hooke, params).append_curve_by_path(
- os.path.expanduser(params['input']), params['info'], hooke=hooke)
+ params['input'], params['info'], hooke=hooke)
class AddGlobCommand (PlaylistCommand):
lists of :class:`hooke.playlist.Playlist` classes.
"""
-import os.path
-
from ..command import Command, Argument, Failure
from ..playlist import FilePlaylist
from . import Builtin
def _run(self, hooke, inqueue, outqueue, params):
p = FilePlaylist(
drivers=hooke.drivers,
- path=os.path.expanduser(params['file']),
+ path=params['file'],
)
self._set_playlist(hooke, params, p)
outqueue.put(p)