From 53e9a2e4209cb86ea77e9c4c7c24f58fad55a70d Mon Sep 17 00:00:00 2001 From: Marcos Cordeiro Date: Sat, 24 Sep 2022 02:44:46 -0300 Subject: [PATCH] Fix streams log check --- Wasari.Crunchyroll/CrunchyrollDownloadService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wasari.Crunchyroll/CrunchyrollDownloadService.cs b/Wasari.Crunchyroll/CrunchyrollDownloadService.cs index 25b511a..d37175d 100644 --- a/Wasari.Crunchyroll/CrunchyrollDownloadService.cs +++ b/Wasari.Crunchyroll/CrunchyrollDownloadService.cs @@ -68,7 +68,7 @@ private async IAsyncEnumerable ProcessEpisode(ApiEpisode ep { await episode.LoadStreams(crunchyrollApiService); - if (episode.ApiEpisodeStreams?.Streams == null || episode.ApiEpisodeStreams.Streams.Length > 0) + if (episode.ApiEpisodeStreams?.Streams == null || episode.ApiEpisodeStreams.Streams.Length <= 0) { Logger.LogWarning("Episode found with no stream options: {@Episode}", episode); yield break;