ref: 08bcc4bcecd6514756c4bde5b5ba6942aff9a98d
parent: 185fe31de404b67441248d91e6321645278ba92a
author: Jacob Moody <[email protected]>
date: Thu Aug 5 11:54:29 EDT 2021
aux/cddb: include album name and correct track number key
--- a/sys/src/cmd/aux/cddb.c
+++ b/sys/src/cmd/aux/cddb.c
@@ -91,7 +91,7 @@
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)