Revert to byChunkAsync as byChunk causes memory problems

This commit is contained in:
Al Beano 2018-01-04 00:15:33 +00:00
parent fab4c19ad9
commit 84d5fe939f
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ int main(string[] args)
"-metadata", "albumartist="~artist, "-metadata", "discnumber="~discNum, "-metadata", "tracktotal="~tracks.length.text,
"-metadata", "disctotal="~discs.text, relPath],
Redirect.stdin | Redirect.stderr | Redirect.stdout);
foreach (chunk; byChunk(url, 1024)) {
foreach (chunk; byChunkAsync(url, 1024)) {
pipes.stdin.rawWrite(chunk);
pipes.stdin.flush;
}