Patch isMovie (#188)

* fix is movie

* version bump
This commit is contained in:
iPromKnight
2024-03-30 00:28:35 +00:00
committed by GitHub
parent d430850749
commit 08639a3254
3 changed files with 15 additions and 15 deletions

View File

@@ -77,7 +77,7 @@ public class RtnResponse
[JsonPropertyName("extended")]
public bool Extended { get; set; }
public bool IsMovie => Season == null && Episode == null;
public bool IsMovie => (Season == null && Episode == null) || (Season?.Count == 0 && Episode?.Count == 0);
public string ToJson() => this.AsJson();
}