Skip to content

Commit

Permalink
feat: collections be damned
Browse files Browse the repository at this point in the history
- Hooked up the rest of the half-implemented collection support,
  though it is 4am, so expect things to break. Good luck if you want
  to try it before I get to testing it tomorrow. 🫡
  • Loading branch information
revam committed May 10, 2024
1 parent 16a8b75 commit 41a3be3
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 116 deletions.
6 changes: 6 additions & 0 deletions Shokofin/API/Info/ShowInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ public class ShowInfo
public bool IsStandalone =>
Shoko == null;

/// <summary>
/// Indicates that this show is consistent of only movies.
/// </summary>
public bool IsMovieCollection =>
IsStandalone && DefaultSeason.Type == SeriesType.Movie;

/// <summary>
/// The Shoko Group, if this is not a standalone show entry.
/// </summary>
Expand Down
Loading

0 comments on commit 41a3be3

Please sign in to comment.