ref: b1f4d9eef61293b24fd53b7c6865538df1964242
parent: 89f56064bec19d2fba206eeb621598e3f783a0ec
author: Sigrid Haflínudóttir <[email protected]>
date: Mon May 25 13:10:33 EDT 2020
don't silence decoder errors; fail on old playlist format
--- a/zuke.c
+++ b/zuke.c
@@ -415,7 +415,6 @@
dup(p[0], 1); close(p[0]);
dup(fd, 0); close(fd);
close(p[1]);
- dup(open("/dev/null", OWRITE), 2);
snprint(cmd, sizeof(cmd), "/bin/audio/%sdec", pl[player->pcur].filefmt);
execl(cmd, cmd, nil);
sysfatal("execl: %r");
@@ -660,6 +659,8 @@
}
s[-1] = 0;
}
+ if(m->filefmt == nil)
+ sysfatal("old playlist format?\nplease update libtags and re-run audio/mkplist");
}
}