summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Moody <moody@posixcafe.org>2021-08-05 15:54:29 +0000
committerJacob Moody <moody@posixcafe.org>2021-08-05 15:54:29 +0000
commit08bcc4bcecd6514756c4bde5b5ba6942aff9a98d (patch)
tree0eec22aa931ced9bd03950dd5fd8684744555e14
parent185fe31de404b67441248d91e6321645278ba92a (diff)
downloadplan9front-08bcc4bcecd6514756c4bde5b5ba6942aff9a98d.tar.xz
aux/cddb: include album name and correct track number key
-rw-r--r--sys/src/cmd/aux/cddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/aux/cddb.c b/sys/src/cmd/aux/cddb.c
index 09c9373dc..5c36ed4c8 100644
--- a/sys/src/cmd/aux/cddb.c
+++ b/sys/src/cmd/aux/cddb.c
@@ -91,7 +91,7 @@ dumpencode(Toc *t)
quotefmtinstall();
for(i=0; i < t->ntrack; i++){
print("</mnt/cd/a%03d audio/flacenc ", i);
- print("-T 'title='^%q -T 'trackno=%d' ", t->track[i].title, i+1);
+ print("-T 'title='^%q -T 'album='^%q -T 'track=%d' ", t->track[i].title, t->title, i+1);
if(t->year[0] != 0)
print("-T 'year='^%q ", t->year);
if(t->track[i].artist[0] != 0 || t->artist[0] != 0)