shithub: cuefs

Download patch

ref: ec39ae8f8b2184347768f308ea80b11cc4aabf1b
parent: 693f78971543823312587d81f1d5dab1fe21e84a
author: Tevo <estevan.cps@gmail.com>
date: Sat Feb 13 22:04:42 EST 2021

Add ISRC to FLAC metadata

--- a/fs.c
+++ b/fs.c
@@ -392,6 +392,8 @@
 	ret = tagflag(&c, ret, esmprint("TRACKNUMBER=%d", e->index));
 	if(e->performer != nil)
 		ret = tagflag(&c, ret, esmprint("ARTIST=%s", e->performer));
+	if(e->isrc != nil)
+		ret = tagflag(&c, ret, esmprint("ISRC=%s", e->isrc));
 	if(e->sheet->performer != nil)
 		ret = tagflag(&c, ret, esmprint("ALBUMARTIST=%s", e->sheet->performer));
 	if(e->sheet->title != nil)