Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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