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

13 lines
238 B
Bash
Raw Normal View History

2022-01-06 12:31:30 -07:00
#! /bin/sh
2022-01-09 16:26:12 -07:00
setenv status "ripping"
2022-01-06 12:31:30 -07:00
abcde -N -a cddb,read
discid=$(cd-discid | awk '{print $1}')
2022-01-09 16:26:12 -07:00
setenv discid "$discid"
now=$(getenv time)
2022-01-06 12:31:30 -07:00
sed -i s/'Unknown Album$'/"Unknown Album $now"/ abcde.$discid/cddbread.0
# vi: sw=2 ts=2 et ai