echo " Output file type(s) (vorbis,mp3,flac,spx,mpc,wav,m4a,opus,mka,wv,ape,mp2,tta,aiff). Defaults to vorbis"
echo "-p Pad track numbers with 0's (if less than 10 tracks)"
echo "-P Use UNIX pipes to read+encode without wav files"
+echo "-Q Select CDDBMETHOD from the command line. Choice is cddb or musicbrainz".
echo "-r <host1[,host2]...>"
echo " Also encode on these remote hosts"
echo "-s <field>"
esac
# Parse command line options
-while getopts 1a:bBc:C:d:DefgGhj:klLmMnNo:pPr:s:S:t:T:UvVxX:w:W:z opt ; do
+while getopts 1a:bBc:C:d:DefgGhj:klLmMnNo:pP:Q:r:s:S:t:T:UvVxX:w:W:z opt ; do
case "$opt" in
1) ONETRACK=y ;;
a) ACTIONS="$OPTARG" ;;
o) OUTPUTTYPE="$OPTARG" ;;
p) PADTRACKS=y ;;
P) USEPIPES=y ;;
+ Q) CDDBMETHOD="$OPTARG" ;;
r) REMOTEHOSTS="$OPTARG" ;;
R) CDDBLOCALRECURSIVE=y ;;
s) SHOWCDDBFIELDS="$OPTARG" ;;
* Support added for encoding with Audio Interchange File Format (AIFF).
Thanks to Massimo Villa for the feature request. FFmpeg is required
for the encoding, the container and suffix are 'aiff'.
+ * Allow selection of either cddb or musicbrainz from the command line:
+
+ -Q Select CDDBMETHOD from the command line. Choice is cddb or musicbrainz.
+
+ Command line letters are fast running out but the 'Q' option quite neatly
+ stands for 'Query'!
abcde 2.8.1.