2020-12-23, 20:35
(2020-12-23, 00:35)Yponac Wrote:No, I don't know where those 12 mins go, it is odd. I have tested and checked old logs from other runs that I happened to have, I don't get to see anything with a gap like that. But I'm not running on RPi with your SD card etc.This seems to suggest to me that once we are done scanning (logline for z1444 is printed), it still takes 12:43:896 before the next logline is printed. Do you know what is happening in those 12 minutes?Code:2020-12-22 08:05:33.494 T:2859860848 DEBUG: DoScan Skipping dir 'smb://XXX/Music/FLAC/beets/z/z1444/' due to no change
2020-12-22 08:18:17.390 T:2859860848 NOTICE: My Music: Scanning for music info using worker thread, operation took 24:08
2020-12-22 08:18:17.391 T:2859860848 DEBUG: Process - Finished scan
There are a couple of things it could be doing in certain circumstances - cleaning orphans from the database and compressing the database - neither make log entries. I would not expect either of those to take 12 minutes, but I suppose there could be an issue with the SD card causing file based SQLite to be slow (generally SQLite is much faster than client server set-up with MySQL or MariaDB).
You could try cleaning the music library from system > media > library clean music Library and see if that takes 12mins. I realise that isn't possible without a UI, could you plug in keyboard and screen to the RPi? Beware it does a deeper clean and will remove entries for any inaccessible media, unlike orphan cleaning that allows for removeable drives etc. so take a backup copy of the database file first just in case. It makes similar operations in SQLite so could at least give a clue where 12 minutes could go.
Grasping at straws a little, and I understand if you are content just to let it be slow and carry on with your life, but I am curious about what is happening.