shithub: zuke

Download patch

ref: 6bdb06da468ceb44140d8301052cb254b73f5e16
parent: 473e05dd0277b55a727594b1aca52e348edcb58b
author: kemal <[email protected]>
date: Fri Apr 23 16:40:00 EDT 2021

libtags update: MOD format

--- a/mkplist.c
+++ b/mkplist.c
@@ -31,6 +31,7 @@
 	[Fit] = "mod",
 	[Fxm] = "mod",
 	[Fs3m] = "mod",
+	[Fmod] = "mod",
 };
 
 static Meta *
@@ -196,7 +197,10 @@
 	}
 
 	if(ctx.duration == 0){
-		if(ctx.format == Fit || ctx.format == Fxm || ctx.format == Fs3m)
+		if(ctx.format == Fit ||
+		ctx.format == Fxm ||
+		ctx.format == Fs3m ||
+		ctx.format == Fmod)
 			ctx.duration = modduration(path);
 		if(ctx.duration == 0)
 			fprint(2, "%s: no duration\n", path);