2024-06-20, 09:42 PM
(2024-06-19, 01:44 AM)pcm Wrote: I am guessing here. But, based on the log message.. it seems like the audio-normalization job creates a temp file in the cache and executes ffmpeg to normalize the audio of your album and then it tries to delete the temp file after it's done with the normalization calculations.
The schedule task spawns the ffmpeg process as a child process asynchronously (based on the github code).
I'm guessing that ffmpeg is not done doing it's normalization thingy and the scheduled task process moves on and attempts to delete the file which ffmpeg is still working on...
One thing you could do is turn on debug-logging temporarily and see what the log says when you kick off the audio normalization job and right before it fails... It might help understand the issue better.
But, I think, you might want to open an issue on github for this...
Thanks pcm. That all sounds spot on. Appreciate the help!