Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Jul 16, 2023
1 parent 2f46a1a commit a51772f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ private void EnqueueDownload(DownloadViewModel download, int position = 0)
try
{
var downloader = new VideoDownloader(_settingsService.LastAuthCookies);
var tagInjector = new MediaTagInjector();
using var access = await _downloadSemaphore.AcquireAsync(download.CancellationToken);
Expand All @@ -110,7 +111,7 @@ await downloader.DownloadVideoAsync(
{
try
{
await new MediaTagInjector().InjectTagsAsync(
await tagInjector.InjectTagsAsync(
download.FilePath!,
download.Video!,
download.CancellationToken
Expand Down

0 comments on commit a51772f

Please sign in to comment.