Hi Dave,
thanks for the info ... looks like a particular file causes and issue? Number 322 (as you already figured) 😉
On that note though: would be nice to figure out what file that is and what is causing the error so I can catch it in code.
Since this error is rather generic (not your faulty of course), my best guess is that this is a conversion issue (something coming from ffProbe that cannot be converted), or a number exceeding what a floating point number can hold.
However ... without a file to test, or the ability to see what ffProbe is generating, it will be hard to debug.
While I'm typing this, I'm doing a test with several thousand of files on my NAS ... It's still running ... 🤣
As you already tried: let's see if we can find the offending file ...
The file order is based on what the OS (select directory) or File explorer (drag and drop) hands MovieScanner. This can be alphanumerical, or order of creation, or even random.
The crash should be repeatable by dragging and dropping individual files, groups of files, or directories.
If you'd be willing to try that - not sure how your directory and file structure is.
As an alternative: You could check the database file and see which ones have been read (SQLitebrowser is free), and guess which one caused the crash.
Look in the tabel "Files" (field: filename should hold the full path of those that worked OK).
The crashed file is most likely NOT listed in the database.