#!/bin/bash source /opt/_mpd_helper tag=`basename "$0"` mpd_play_folder $tag # source _mpd_helper if you want to use mpd actions such as: # - mpd_play "<PATH/FILE within mpd library>" # - mpd_play_random "<PATH/FILE within mpd library>" # - 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