02-27-2022, 09:28 PM
(02-27-2022, 09:00 PM)hoverdonkey Wrote:(02-27-2022, 07:12 PM)Tim Curtis Wrote: Look at the MPD log to determine if its still indexing files.
Code:cat /var/log/mpd/log
If no new records are being added to the log then prolly the activity spinner was not cleared for some reason. Just do a page refresh.
Thanks, I wasn't sure if I should interrupt it with that. It's still happily going!
Not so sure if that "[I]t's still happily going" refers to the indexing operation or just to the spinner. Another way to test if MPD is still indexing is to login to the moOde command line and execute
Code:
mpc
If MPD is still updating its library, the response will look something like
Code:
pi@m8pre4zero2w:~ $ mpc
Updating DB (#2) ...
volume: 28% repeat: off random: off single: off consume: off
Once MPD is done updating its library, the "Updating DB line" will not be present in the response and you can collect stats on the result
Code:
pi@m8pre4zero2w:~ $ mpc stats
Artists: 724
Albums: 516
Songs: 5855
Play Time: 0 days, 0:06:10
Uptime: 0 days, 18:38:52
DB Updated: Sun Feb 27 14:51:48 2022
DB Play Time: 20 days, 19:28:50
FYI, it took 9 minutes here to update the library with those 516 albums / 5855 tracks held on a test NAS. The pipeline was:
PiZero2W (moOde 8pre4) -> WiFi -> AP/router -> ethernet -> Odroid HC1 (OpenMediaVault)
This would suggest your indexing could plausibly take an hour or so but several hours and counting seems excessive.
Regards,
Kent