Music Player Daemon Community Wiki

Hack:update and add

525pages on
this wiki
Add New Page
Add New Page Talk0

This simple shell script updates the database and adds all songs, when finished.

echo 'updating...'
mpc update > /dev/null
while [ -n "$(mpc | grep Updating)" ] ; do sleep 5 ; done
echo 'adding...'
mpc clear
mpc add / > /dev/null
mpc play

Also on Fandom

Random Wiki