diff --git a/TwitchDownloaderCore/VideoDownloader.cs b/TwitchDownloaderCore/VideoDownloader.cs index 78ca9cda..c3fbb978 100644 --- a/TwitchDownloaderCore/VideoDownloader.cs +++ b/TwitchDownloaderCore/VideoDownloader.cs @@ -26,9 +26,7 @@ public VideoDownloader(VideoDownloadOptions DownloadOptions) public async Task DownloadAsync(IProgress progress, CancellationToken cancellationToken) { - string downloadFolder = Path.Combine( - downloadOptions.TempFolder, - (downloadOptions.Id == 0) ? Guid.NewGuid().ToString() : downloadOptions.Id.ToString()); + string downloadFolder = Path.Combine(downloadOptions.TempFolder, $"{downloadOptions.Id.ToString()}_{DateTimeOffset.UtcNow.ToUnixTimeMilliseconds()}"); try {