## Author: Steve Youngs <steve@steveyoungs.com>
## Maintainer: Steve Youngs <steve@steveyoungs.com>
## Created: <2006-08-08>
-## Time-stamp: <Wednesday Jun 22, 2011 13:00:06 steve>
+## Time-stamp: <Wednesday Jun 22, 2011 16:35:04 steve>
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
_album_to_dir ()
{
local talbum=$album
- local tart=$art
+ local tart=${ARTIST:-$art}
local psub="[[:cntrl:],\`';/\\\\\"]"
local prep=""
local wsub="[[:space:][:blank:]]"
$_zedit $rcfile
fi
+ album=${ALBUM:-$album}
if [[ -z $album ]]; then
echo -n "Please enter the name of this album: "
read album
fi
fi
+ year=${YEAR:-$year}
if [[ -z $year ]]; then
echo -n "Please enter the year this album was released: "
read year
echo
fi
+ genre=${GENRE:-$genre}
if [[ -z $genre ]]; then
echo -n "Please enter the genre of this album: "
read genre