Exemplo n.º 1
0
 def _get_output_path(self):
     directory = get_temp_directory()
     name = re.sub(r'\W+', '', re.sub(r'\s+', '_', self.show_name)).lower()
     if not self.driver.format:
         name += ".aiff"
     else:
         name += "." + re.sub(r'\d+$', '', self.driver.format)
     return os.path.join(directory, name)
Exemplo n.º 2
0
 def _get_output_path(self):
     directory = get_temp_directory()
     name = re.sub(r'\W+', '', re.sub(r'\s+', '_', self.show_name)).lower()
     return os.path.join(directory, name)