Closed XenGi closed 3 years ago
Valid point - thank you for reporting! There had been heavy rework on the whole import procedure and this part is not reworked yet.
As a temporary workaround you can do this in your terminal:
mpc update
/path/to/sliMpd/slimpd update
sudo /path/to/sliMpd/scripts/sphinx-rotate.sh
Some background info: Depending on the size of the users music collection the initial import process may run for several days. I don't like the idea to trigger such an enormous process via the webbrowser and loose control about the process. I already have an idea for solving this problem via a sliMpd-cronjob but unfortunately it is not implemented yet.
I will update this issue as soon as i have implemented my approach. In the meantime i will hide the button or forward to this issue conversation.
I already have an idea for solving this problem via a sliMpd-cronjob but unfortunately it is not implemented yet.
i have added another cli-tool-argument
./slimpd check-que
this will process all actions that has been triggered via sliMpd-GUI a mechanism with a .lock file avoids parallel execution of sliMpd-cli-tool
to have it working like expected a cronjob executed every minute is required
*/1 * * * * webserver-user php /path/to/slimpd-root/slimpd check-que >> /dev/null
of course the same command can be executed directly in terminal without setting up a cronjob.
is shown when clicked on
update sliMpd Database
.ngninx log shows:
nginx config: