From 018f75d19bedab9b8c8b83537525374470541abd Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 17 Sep 2013 22:43:34 -0400 Subject: [PATCH] allow request header overrides --- dashboard-ui/scripts/Itemdetailpage.js | 6 +++--- dashboard-ui/scripts/boxsets.js | 2 +- dashboard-ui/scripts/gamespage.js | 2 +- dashboard-ui/scripts/itembynamedetailpage.js | 2 +- dashboard-ui/scripts/itemlistpage.js | 2 +- dashboard-ui/scripts/mediaplayer.js | 2 +- dashboard-ui/scripts/movies.js | 2 +- dashboard-ui/scripts/movietrailers.js | 2 +- dashboard-ui/scripts/musicvideos.js | 2 +- dashboard-ui/scripts/tvshows.js | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index 5167ab0ffe..1c1f2cd854 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -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) { diff --git a/dashboard-ui/scripts/boxsets.js b/dashboard-ui/scripts/boxsets.js index 0be1f2a990..eac463730a 100644 --- a/dashboard-ui/scripts/boxsets.js +++ b/dashboard-ui/scripts/boxsets.js @@ -7,7 +7,7 @@ SortOrder: "Ascending", IncludeItemTypes: "BoxSet", Recursive: true, - Fields: "DisplayMediaType,ItemCounts,DateCreated,UserData", + Fields: "ItemCounts,DateCreated", StartIndex: 0 }; diff --git a/dashboard-ui/scripts/gamespage.js b/dashboard-ui/scripts/gamespage.js index 8453379a20..4c4f87d1ee 100644 --- a/dashboard-ui/scripts/gamespage.js +++ b/dashboard-ui/scripts/gamespage.js @@ -10,7 +10,7 @@ SortOrder: "Ascending", MediaTypes: "Game", Recursive: true, - Fields: "UserData,DisplayMediaType,Genres,Studios,PrimaryImageAspectRatio", + Fields: "Genres,Studios,PrimaryImageAspectRatio", StartIndex: 0 }; diff --git a/dashboard-ui/scripts/itembynamedetailpage.js b/dashboard-ui/scripts/itembynamedetailpage.js index b05a5ab7a5..715b444588 100644 --- a/dashboard-ui/scripts/itembynamedetailpage.js +++ b/dashboard-ui/scripts/itembynamedetailpage.js @@ -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 }; diff --git a/dashboard-ui/scripts/itemlistpage.js b/dashboard-ui/scripts/itemlistpage.js index b53aac5927..0317213599 100644 --- a/dashboard-ui/scripts/itemlistpage.js +++ b/dashboard-ui/scripts/itemlistpage.js @@ -7,7 +7,7 @@ SortBy: "SortName", SortOrder: "Ascending", - Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated", + Fields: "ItemCounts,DateCreated", StartIndex: 0 }; diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 5f8a20dcee..2b5781970d 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -941,7 +941,7 @@ $('.nowPlayingMediaInfo', nowPlayingBar).html(html); }; - var getItemFields = "MediaStreams,UserData,DisplayMediaType,Chapters,Path"; + var getItemFields = "MediaStreams,Chapters,Path"; self.getItemsForPlayback = function (query) { diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js index 2b242e17a6..64d2350799 100644 --- a/dashboard-ui/scripts/movies.js +++ b/dashboard-ui/scripts/movies.js @@ -9,7 +9,7 @@ SortOrder: "Ascending", IncludeItemTypes: "Movie", Recursive: true, - Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated", + Fields: "ItemCounts,DateCreated", StartIndex: 0 }; diff --git a/dashboard-ui/scripts/movietrailers.js b/dashboard-ui/scripts/movietrailers.js index 1eddf6302b..aec65210eb 100644 --- a/dashboard-ui/scripts/movietrailers.js +++ b/dashboard-ui/scripts/movietrailers.js @@ -9,7 +9,7 @@ SortOrder: "Ascending", IncludeItemTypes: "Trailer", Recursive: true, - Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated", + Fields: "ItemCounts,DateCreated", StartIndex: 0 }; diff --git a/dashboard-ui/scripts/musicvideos.js b/dashboard-ui/scripts/musicvideos.js index 958cc5877f..6e240af6a0 100644 --- a/dashboard-ui/scripts/musicvideos.js +++ b/dashboard-ui/scripts/musicvideos.js @@ -9,7 +9,7 @@ SortOrder: "Ascending", IncludeItemTypes: "MusicVideo", Recursive: true, - Fields: "UserData,DisplayMediaType,ItemCounts,DateCreated", + Fields: "ItemCounts,DateCreated", StartIndex: 0 }; diff --git a/dashboard-ui/scripts/tvshows.js b/dashboard-ui/scripts/tvshows.js index ae9864e376..0d894c07dc 100644 --- a/dashboard-ui/scripts/tvshows.js +++ b/dashboard-ui/scripts/tvshows.js @@ -9,7 +9,7 @@ SortOrder: "Ascending", IncludeItemTypes: "Series", Recursive: true, - Fields: "DisplayMediaType,SeriesInfo,ItemCounts,DateCreated,UserData", + Fields: "SeriesInfo,ItemCounts,DateCreated", StartIndex: 0 };