twynb / AudioStreamSplitting

A tool that takes a long audio file, splits it into separate songs and attempts to identify them.
https://twynb.github.io/AudioStreamSplitting/
GNU General Public License v3.0
2 stars 0 forks source link

Also delete TEMP_FILE_FOR_FINGERPRINTING if fingerprinting fails #129

Closed twynb closed 1 year ago

twynb commented 1 year ago

as of current, if an error is thrown while calling fpcalc/acoustid fingerprinting, the TEMP_FILE_FOR_FINGERPRINTING.mp3 file still remains.

If fingerprinting throws an exception, it should be caught and propagated after deleting the file.