_action_template 450 B

12345678910111213141516
  1. #!/bin/bash
  2. source /opt/_mpd_helper
  3. tag=`basename "$0"`
  4. mpd_play_folder $tag
  5. # source _mpd_helper if you want to use mpd actions such as:
  6. # - mpd_play "<PATH/FILE within mpd library>"
  7. # - mpd_play_random "<PATH/FILE within mpd library>"
  8. # - mpd_set_volume VALUE (0 - 100)
  9. # - mpd_decrease_volume [VALUE] (defaults to 10)
  10. # - mpd_increase_volume [VALUE] (defaults to 10)
  11. # - $mpc = mpd client with options
  12. # - $music = path to mpd's music library