pyguymer3.media.optimise_FLAC

pyguymer3.media.optimise_FLAC(fname1, /, *, chunksize=1048576, debug=True, metaflacPath=None, timeout=60.0)[source]

“metaflac” does not modify, but it does touch, the FLAC even if it cannot make it smaller, therefore it is NOT safe to keep on running “metaflac” on the same FLAC over and over again.

chunksizeint, optional

the size of the chunks of any files which are read in (in bytes)