With this PR, the caching mechanism now saves additional peak and lufs information if the input and output folders are the same (no output folder specified). If input and output folders are specified, no cache is written. The reason for this is the huge number of edge cases we would have to handle. These would make the code very complicated and hard to read, while providing only marginal performance benefits.
Also, this PR introduces dataclasses instead of dicts for internal cache handling.
With this PR, the caching mechanism now saves additional peak and lufs information if the input and output folders are the same (no output folder specified). If input and output folders are specified, no cache is written. The reason for this is the huge number of edge cases we would have to handle. These would make the code very complicated and hard to read, while providing only marginal performance benefits.
Also, this PR introduces dataclasses instead of dicts for internal cache handling.