mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new params for missing/unaired
This commit is contained in:
parent
77f0d460c4
commit
eef5af361e
10 changed files with 84 additions and 40 deletions
|
@ -492,8 +492,13 @@
|
|||
Fields: "PrimaryImageAspectRatio,ItemCounts,DateCreated,AudioInfo"
|
||||
};
|
||||
|
||||
if (item.Type == "Series" || item.Type == "Season" && !user.Configuration.DisplayVirtualEpisodes) {
|
||||
query.ExcludeLocationTypes = "virtual";
|
||||
if (item.Type == "Series" || item.Type == "Season") {
|
||||
if (!user.Configuration.DisplayMissingEpisodes) {
|
||||
query.IsMissing = false;
|
||||
}
|
||||
if (!user.Configuration.DisplayUnairedEpisodes) {
|
||||
query.IsUnaired = false;
|
||||
}
|
||||
}
|
||||
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue