dopamine-windows icon indicating copy to clipboard operation
dopamine-windows copied to clipboard

File scanner hangs on AIFF files

Open fenarinarsa opened this issue 3 years ago • 0 comments

I'm submitting a...


[ ] Regression 
[X] Bug report  
[ ] Feature request

I'm using these versions

  • Windows version: 2.0.8 (latest)
  • Dopamine version:

Reproduction steps

  • Add at least an AIFF file to Dopamine's library (see below, I provided one)
  • Open Dopamine and let it scan the newly added files

Observed behavior

The scanner hangs on a file with no error message. image

Desired behavior

Skip the non-scannable files and throw a warning, or scan them completely, but don't break the scan update.

Log file

Nothing relevant appears in the log file.

However I built Dopamine from the source code and when pausing the execution, VS highlights line 31 of FileMetadata.cs in FileMetadata() constructor:

            this.file = TagLib.File.Create(filePath);

filePath points to an old AIFF file in my library.

I had only a few and Dopamine actually hangs each time it encounters one of them. So I removed them from my iTunes Library (Dopamine points to my iTunes folder) and now Dopamine can at least end its scan and add the missing newest files.

Here's one file that makes Dopamine hangs: GhostKiller by RickST (1993).zip

fenarinarsa avatar May 17 '21 21:05 fenarinarsa