Revert to byChunkAsync as byChunk causes memory problems
This commit is contained in:
parent
fab4c19ad9
commit
84d5fe939f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue