We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75ae74 commit a4fb6b8Copy full SHA for a4fb6b8
TwitchDownloaderCore/VideoDownloader.cs
@@ -26,9 +26,7 @@ public VideoDownloader(VideoDownloadOptions DownloadOptions)
26
27
public async Task DownloadAsync(IProgress<ProgressReport> progress, CancellationToken cancellationToken)
28
{
29
- string downloadFolder = Path.Combine(
30
- downloadOptions.TempFolder,
31
- (downloadOptions.Id == 0) ? Guid.NewGuid().ToString() : downloadOptions.Id.ToString());
+ string downloadFolder = Path.Combine(downloadOptions.TempFolder, $"{downloadOptions.Id.ToString()}_{DateTimeOffset.UtcNow.ToUnixTimeMilliseconds()}");
32
33
try
34
0 commit comments