source: gutenbach/debian/lib/cd-cddb @ 3b5bfeb

debianmacno-cupsnodebathenaweb
Last change on this file since 3b5bfeb was 83733c9, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Add all of the other stuff.o
Signed-off-by: root <root@…>

  • Property mode set to 100755
File size: 285 bytes
Line 
1#!/bin/sh
2
3die () {
4    echo "$@";
5    exit 1;
6}
7
8CACHE=$(cd-cddb-get) || die "Unable to fetch CDDB information."
9
10. "$CACHE"
11
12echo "Artist: $DARTIST";
13echo "Album: $DALBUM";
14echo "Tracks: $TRACKS";
15
16for i in $(seq 1 $TRACKS); do
17    echo -n "Track $i: "
18    eval 'echo $TRACK'$i
19done
Note: See TracBrowser for help on using the repository browser.