#! /bin/sh
abcde -N -a cddb,read
discid=$(cd-discid | awk '{print $1}')
cat <<EOD >env
mtype=cd
discid=$discid
EOD
now=$(date +%Y%m%d.%H%M%S)
sed -i s/'Unknown Album$'/"Unknown Album $now"/ abcde.$discid/cddbread.0
# vi: sw=2 ts=2 et ai