Thank you for your donation!


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


Idea: Progress bar for scanning new library
#3
Some rough idea, you could update directory by directory with --wait directive, that way u know when each directory is done

Code:
IFS=$'\n'
directory=$(find -L /var/lib/mpd/music/ -type d -links 2 -printf '%P\n')

for d in $directory
do
   mpc update --wait d
   <update progress bar>
done
Reply


Messages In This Thread
RE: Progress bar for scanning new library - by TookaFace - 11-12-2021, 03:19 PM

Forum Jump: