def __init__(self): from sasha import sasha_configuration import os executable = sasha_configuration.get_binary('convert') if not os.path.isabs(executable): path = sasha_configuration.find_executable(executable) assert path is not None
def __init__(self, name): from sasha import sasha_configuration import os executable = sasha_configuration.get_binary('audiodb') if not os.path.isabs(executable): path = sasha_configuration.find_executable(executable) assert path is not None path, asset_class = sasha_configuration.get_audiodb_parameters(name) self._asset_class = asset_class self._name = name self._path = path