mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
allow request header overrides
This commit is contained in:
parent
86a2fce73c
commit
018f75d19b
@ -296,7 +296,7 @@
|
||||
ApiClient.getItems(Dashboard.getCurrentUserId(), {
|
||||
|
||||
Ids: item.SoundtrackIds.join(","),
|
||||
ItemFields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData,AudioInfo",
|
||||
ItemFields: "PrimaryImageAspectRatio,ItemCounts,DateCreated,AudioInfo",
|
||||
SortBy: "SortName"
|
||||
|
||||
}).done(function (result) {
|
||||
@ -461,7 +461,7 @@
|
||||
|
||||
ParentId: item.Id,
|
||||
SortBy: sortBy,
|
||||
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData,AudioInfo"
|
||||
Fields: "PrimaryImageAspectRatio,ItemCounts,DateCreated,AudioInfo"
|
||||
|
||||
}).done(function (result) {
|
||||
|
||||
@ -631,7 +631,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "MusicVideo",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
|
||||
Fields: "ItemCounts,DateCreated",
|
||||
Albums: item.Name
|
||||
|
||||
}).done(function (result) {
|
||||
|
@ -7,7 +7,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "BoxSet",
|
||||
Recursive: true,
|
||||
Fields: "DisplayMediaType,ItemCounts,DateCreated,UserData",
|
||||
Fields: "ItemCounts,DateCreated",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
SortOrder: "Ascending",
|
||||
MediaTypes: "Game",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,Genres,Studios,PrimaryImageAspectRatio",
|
||||
Fields: "Genres,Studios,PrimaryImageAspectRatio",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -404,7 +404,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated,AudioInfo,SeriesInfo,ParentId",
|
||||
Fields: "ItemCounts,DateCreated,AudioInfo,SeriesInfo,ParentId",
|
||||
Limit: LibraryBrowser.getDefaultPageSize(),
|
||||
StartIndex: 0
|
||||
};
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
SortBy: "SortName",
|
||||
SortOrder: "Ascending",
|
||||
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
|
||||
Fields: "ItemCounts,DateCreated",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -941,7 +941,7 @@
|
||||
$('.nowPlayingMediaInfo', nowPlayingBar).html(html);
|
||||
};
|
||||
|
||||
var getItemFields = "MediaStreams,UserData,DisplayMediaType,Chapters,Path";
|
||||
var getItemFields = "MediaStreams,Chapters,Path";
|
||||
|
||||
self.getItemsForPlayback = function (query) {
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "Movie",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
|
||||
Fields: "ItemCounts,DateCreated",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "Trailer",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
|
||||
Fields: "ItemCounts,DateCreated",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "MusicVideo",
|
||||
Recursive: true,
|
||||
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
|
||||
Fields: "ItemCounts,DateCreated",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "Series",
|
||||
Recursive: true,
|
||||
Fields: "DisplayMediaType,SeriesInfo,ItemCounts,DateCreated,UserData",
|
||||
Fields: "SeriesInfo,ItemCounts,DateCreated",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user