twitch clips support added
This commit is contained in:
@@ -54,7 +54,7 @@ namespace VDownload.Sources.Twitch.Models
|
||||
|
||||
#region PUBLIC METHODS
|
||||
|
||||
public async override Task<VideoStreamDownloadResult> Download(string taskTemporaryDirectory, IProgress<double> onProgress, CancellationToken token, TimeSpan trimStart, TimeSpan trimEnd)
|
||||
public async override Task<VideoStreamDownloadResult> Download(string taskTemporaryDirectory, IProgress<double> onProgress, CancellationToken token, TimeSpan duration, TimeSpan trimStart, TimeSpan trimEnd)
|
||||
{
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
@@ -92,8 +92,6 @@ namespace VDownload.Sources.Twitch.Models
|
||||
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
TimeSpan duration = TimeSpan.FromTicks(chunks.Sum(x => x.Duration.Ticks));
|
||||
|
||||
if (_settingsService.Data.Twitch.Vod.PassiveTrimming)
|
||||
{
|
||||
PassiveTrimming(chunks, ref trimStart, ref trimEnd, ref duration);
|
||||
|
||||
Reference in New Issue
Block a user