~ft/zuke

6bdb06da468ceb44140d8301052cb254b73f5e16 — kemal 4 months ago 473e05d
libtags update: MOD format
1 files changed, 5 insertions(+), 1 deletions(-)

M mkplist.c
M mkplist.c => mkplist.c +5 -1
@@ 31,6 31,7 @@ static char *fmts[] =
	[Fit] = "mod",
	[Fxm] = "mod",
	[Fs3m] = "mod",
	[Fmod] = "mod",
};

static Meta *


@@ 196,7 197,10 @@ scanfile(char *path)
	}

	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);