I have a huge media connection, ~1.5 million songs. I've always had an issue with scanning hanging, I thought it was due to an older computer. I just got a new computer powerful computer and set it up. Scanning still hangs. The wheel still spins but it's stuck at 995,798 it's now 10:08 here are the last few lines of the log:
[9/12/19 9:39:24 AM EDT] INFO MediaScannerService Scanned media library with 994500 entries.
[9/12/19 9:39:25 AM EDT] INFO MediaScannerService Scanned media library with 994750 entries.
[9/12/19 9:39:25 AM EDT] INFO MediaScannerService Scanned media library with 995000 entries.
[9/12/19 9:39:25 AM EDT] INFO MediaScannerService Scanned media library with 995250 entries.
[9/12/19 9:39:25 AM EDT] INFO MediaScannerService Scanned media library with 995500 entries.
[9/12/19 9:39:25 AM EDT] INFO MediaScannerService Scanned media library with 995750 entries.