AtOM/lib/config/getSource

15 lines
307 B
Bash

#!/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
}