The error indicates that the nature (binary or text) of the source file wasn’t specified.
As it’s a binary file, try this:
self.multifile.addSubfile("/sounds/"+Filename(path).get_basename(), Filename.binaryFilename(path), 5)
The error indicates that the nature (binary or text) of the source file wasn’t specified.
As it’s a binary file, try this:
self.multifile.addSubfile("/sounds/"+Filename(path).get_basename(), Filename.binaryFilename(path), 5)