#!/bin/bash getConfigSource() { case "$key" in 'path') # Root directory of music collection to transcode from sourcepath="$value" ;; 'skip') # Directory pattern to exclude from scanning # Multiple 'skip' entries accumulate into this array skippeddirectories+=( "$value" ) ;; esac }