06-20-2024, 03:20 PM
Interesting. If the CPU gets pegged it would explain the unresponsiveness of the system.
The components involved in a Library update are:
MPD
/var/www/util/list-songfiles.sh
/var/www/util/thumb-gen.php
The list-songfiles.sh command is run by thumb-get.php and it pipes it to sort. Since sorting can be resource intensive I'd try running the command stand alone and monitor it with htop in a second SSH term.
The components involved in a Library update are:
MPD
/var/www/util/list-songfiles.sh
/var/www/util/thumb-gen.php
The list-songfiles.sh command is run by thumb-get.php and it pipes it to sort. Since sorting can be resource intensive I'd try running the command stand alone and monitor it with htop in a second SSH term.
Code:
# Default is from the Prefs setting COVER ART > Audio formats
sudo /var/www/util/list-songfiles.sh Default | sort