Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Fix downloading subs even when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Cordeiro committed Nov 10, 2023
1 parent 3ec8152 commit 0669af0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Wasari.Crunchyroll/CrunchyrollDownloadService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public override async Task<DownloadedEpisode[]> DownloadEpisodes(string url, int
.SelectAwait(i => i.FirstAsync())
.Select(o => new WasariEpisodeInput(o.Url, o.Locale, InputType.Subtitle)))
.Cast<IWasariEpisodeInput>()
.Where(i => DownloadOptions.Value.IncludeSubs || i.Type != InputType.Subtitle)
.ToArrayAsync();
}, TimeSpan.FromMilliseconds(commonEpisodeData.DurationMs));
});
Expand Down

0 comments on commit 0669af0

Please sign in to comment.