#!/usr/bin/bash source /opt/_mpd_helper tag=`basename "$0"` play_folder $tag # source _mpd_helper if you want to use mpd actions such as: # - mpd_play "" # - mpd_play_random "" # - mpd_set_volume VALUE (0 - 100) # - mpd_decrease_volume [VALUE] (defaults to 10) # - mpd_increase_volume [VALUE] (defaults to 10) # - $mpc = mpd client with options # - $music = path to mpd's music library