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

Commit

Permalink
Fix streams log check
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Cordeiro committed Sep 24, 2022
1 parent 8bbf72d commit 53e9a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wasari.Crunchyroll/CrunchyrollDownloadService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private async IAsyncEnumerable<IWasariEpisodeInput> 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;
Expand Down

0 comments on commit 53e9a2e

Please sign in to comment.