allow request header overrides

This commit is contained in:
Luke Pulverenti 2013-09-17 22:43:34 -04:00
parent 86a2fce73c
commit 018f75d19b
10 changed files with 12 additions and 12 deletions

View File

@ -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) {

View File

@ -7,7 +7,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "BoxSet",
Recursive: true,
Fields: "DisplayMediaType,ItemCounts,DateCreated,UserData",
Fields: "ItemCounts,DateCreated",
StartIndex: 0
};

View File

@ -10,7 +10,7 @@
SortOrder: "Ascending",
MediaTypes: "Game",
Recursive: true,
Fields: "UserData,DisplayMediaType,Genres,Studios,PrimaryImageAspectRatio",
Fields: "Genres,Studios,PrimaryImageAspectRatio",
StartIndex: 0
};

View File

@ -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
};

View File

@ -7,7 +7,7 @@
SortBy: "SortName",
SortOrder: "Ascending",
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
Fields: "ItemCounts,DateCreated",
StartIndex: 0
};

View File

@ -941,7 +941,7 @@
$('.nowPlayingMediaInfo', nowPlayingBar).html(html);
};
var getItemFields = "MediaStreams,UserData,DisplayMediaType,Chapters,Path";
var getItemFields = "MediaStreams,Chapters,Path";
self.getItemsForPlayback = function (query) {

View File

@ -9,7 +9,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "Movie",
Recursive: true,
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
Fields: "ItemCounts,DateCreated",
StartIndex: 0
};

View File

@ -9,7 +9,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "Trailer",
Recursive: true,
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
Fields: "ItemCounts,DateCreated",
StartIndex: 0
};

View File

@ -9,7 +9,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "MusicVideo",
Recursive: true,
Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated",
Fields: "ItemCounts,DateCreated",
StartIndex: 0
};

View File

@ -9,7 +9,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "Series",
Recursive: true,
Fields: "DisplayMediaType,SeriesInfo,ItemCounts,DateCreated,UserData",
Fields: "SeriesInfo,ItemCounts,DateCreated",
StartIndex: 0
};