media-sucker/scripts/cd.audio.read.sh

16 lines
242 B
Bash
Raw Normal View History

2022-01-06 12:31:30 -07:00
#! /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