Posts: 65
Threads: 14
Joined: Apr 2018
Reputation:
1
Up until 6.5.0 I had a script to automatically update the library using `mpd update` command, but in the new version I see the update is tied to refreshing the thumbnail cache for the albums and I like the idea.
How can I do the same in the shell with a cron line? Is there a php script action for this?
Posts: 13,481
Threads: 305
Joined: Mar 2018
Reputation:
545
What do you mean by "status of the update" ?
When a library update is submitted, MPD update and the thumbnail generator are started in parallel. They may each finish at different times. The visibility of the progress spinner is tied to only the MPD update process. When that process completes, the spinner is hidden.
Posts: 65
Threads: 14
Joined: Apr 2018
Reputation:
1
Haha.. No, this is not a problem. As I mentioned before, I already have a script that uses 'mpc update --wait' and it's fine with me, but thumbnails for new albums are not created in this case, so I wanted to try the new 'method'. Only that I can't have a status after running the php script and this is the problem.
Why do I want the status? Because I had issues sometimes where the update wouldn't finish because of permission or other kinds of problems. It's just a petty thing for me - I can live without it, but it would be nice to have.