08-21-2020, 09:22 PM
(08-21-2020, 01:25 PM)modeosonja Wrote:(08-02-2020, 03:06 PM)TookaFace Wrote: Hey, try:Thanks for this amazing advice. You have solved my problem as well. Have a great day
orCode:http://moode/command/?cmd=libupd-submit.php
instead of mpc commands, it should update MPD and covers.Code:php /var/www/libupd-submit.php
You also can clear the library cache after the update:
Code:truncate /var/local/www/libcache.json --size 0
The option to update the MPD database on a schedule would be a welcome addition to core functionality and should be configurable from the Moode UI.
My usage case is a shared NAS, a Moode player in the living room which runs podget as a scheduled task via cron (with an mpc update afterwards), and another Moode player in the lockdown office. Without a scheduled task on the second Pi I have to remember to manually update the Podcasts directory.
Whatever one does, it would be cool to have an automatic update at a scheduled time to keep everything in sync after files are added.
Cheers,
Phil