Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: How to automate daily update of library?
#5
(08-21-2020, 01:25 PM)modeosonja Wrote:
(08-02-2020, 03:06 PM)TookaFace Wrote: Hey, try:

Code:
http://moode/command/?cmd=libupd-submit.php
or
Code:
php /var/www/libupd-submit.php
instead of mpc commands, it should update MPD and covers.

You also can clear the library cache after the update:
Code:
truncate /var/local/www/libcache.json --size 0
 Thanks for this amazing advice. You have solved my problem as well. Have a great day Smile

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

Reply


Messages In This Thread
RE: How to automate daily update of library? - by philrandal - 08-21-2020, 09:22 PM

Forum Jump: