mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add new image params
This commit is contained in:
parent
c393e5345d
commit
bdb44814f1
24 changed files with 85 additions and 42 deletions
|
@ -25,7 +25,7 @@
|
||||||
<div class="readOnlyContent dashboardHomeLeftColumn">
|
<div class="readOnlyContent dashboardHomeLeftColumn">
|
||||||
|
|
||||||
<div data-role="collapsible" data-collapsed="false">
|
<div data-role="collapsible" data-collapsed="false">
|
||||||
<h3>${HeaerServerInformation}</h3>
|
<h3>${HeaderServerInformation}</h3>
|
||||||
<div>
|
<div>
|
||||||
<p id="appVersionNumber">
|
<p id="appVersionNumber">
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -460,11 +460,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="tabContent tabTranscodingAdvanced" style="display: none;">
|
<div class="tabContent tabTranscodingAdvanced" style="display: none;">
|
||||||
|
|
||||||
<div id="fldVideoProfile" style="margin: 1em 0;">
|
|
||||||
<label for="txtTranscodingVideoProfile">${LabelTranscodingVideoProfile}</label>
|
|
||||||
<input type="text" id="txtTranscodingVideoProfile" data-mini="true" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="fldEnableMpegtsM2TsMode" style="margin: 1em 0;">
|
<div id="fldEnableMpegtsM2TsMode" style="margin: 1em 0;">
|
||||||
<label for="chkEnableMpegtsM2TsMode">${OptionEnableM2tsMode}</label>
|
<label for="chkEnableMpegtsM2TsMode">${OptionEnableM2tsMode}</label>
|
||||||
<input type="checkbox" id="chkEnableMpegtsM2TsMode" data-mini="true" />
|
<input type="checkbox" id="chkEnableMpegtsM2TsMode" data-mini="true" />
|
||||||
|
|
|
@ -500,7 +500,6 @@
|
||||||
$('#selectTranscodingProtocol', popup).val(transcodingProfile.Protocol || 'Http').selectmenu('refresh');
|
$('#selectTranscodingProtocol', popup).val(transcodingProfile.Protocol || 'Http').selectmenu('refresh');
|
||||||
$('#selectTranscodingContext', popup).val(transcodingProfile.Context || 'Streaming').selectmenu('refresh');
|
$('#selectTranscodingContext', popup).val(transcodingProfile.Context || 'Streaming').selectmenu('refresh');
|
||||||
|
|
||||||
$('#txtTranscodingVideoProfile', popup).val(transcodingProfile.VideoProfile || '');
|
|
||||||
$('#chkEnableMpegtsM2TsMode', popup).checked(transcodingProfile.EnableMpegtsM2TsMode || false).checkboxradio('refresh');
|
$('#chkEnableMpegtsM2TsMode', popup).checked(transcodingProfile.EnableMpegtsM2TsMode || false).checkboxradio('refresh');
|
||||||
$('#chkEstimateContentLength', popup).checked(transcodingProfile.EstimateContentLength || false).checkboxradio('refresh');
|
$('#chkEstimateContentLength', popup).checked(transcodingProfile.EstimateContentLength || false).checkboxradio('refresh');
|
||||||
$('#chkReportByteRangeRequests', popup).checked(transcodingProfile.TranscodeSeekInfo == 'Bytes').checkboxradio('refresh');
|
$('#chkReportByteRangeRequests', popup).checked(transcodingProfile.TranscodeSeekInfo == 'Bytes').checkboxradio('refresh');
|
||||||
|
@ -527,7 +526,6 @@
|
||||||
currentSubProfile.Protocol = $('#selectTranscodingProtocol', page).val();
|
currentSubProfile.Protocol = $('#selectTranscodingProtocol', page).val();
|
||||||
currentSubProfile.Context = $('#selectTranscodingContext', page).val();
|
currentSubProfile.Context = $('#selectTranscodingContext', page).val();
|
||||||
|
|
||||||
currentSubProfile.VideoProfile = $('#txtTranscodingVideoProfile', page).val();
|
|
||||||
currentSubProfile.EnableMpegtsM2TsMode = $('#chkEnableMpegtsM2TsMode', page).checked();
|
currentSubProfile.EnableMpegtsM2TsMode = $('#chkEnableMpegtsM2TsMode', page).checked();
|
||||||
currentSubProfile.EstimateContentLength = $('#chkEstimateContentLength', page).checked();
|
currentSubProfile.EstimateContentLength = $('#chkEstimateContentLength', page).checked();
|
||||||
currentSubProfile.TranscodeSeekInfo = $('#chkReportByteRangeRequests', page).checked() ? 'Bytes' : 'Auto';
|
currentSubProfile.TranscodeSeekInfo = $('#chkReportByteRangeRequests', page).checked() ? 'Bytes' : 'Auto';
|
||||||
|
@ -981,12 +979,10 @@
|
||||||
$('#fldTranscodingVideoCodec', page).show();
|
$('#fldTranscodingVideoCodec', page).show();
|
||||||
$('#fldTranscodingProtocol', page).show();
|
$('#fldTranscodingProtocol', page).show();
|
||||||
$('#fldEnableMpegtsM2TsMode', page).show();
|
$('#fldEnableMpegtsM2TsMode', page).show();
|
||||||
$('#fldVideoProfile', page).show();
|
|
||||||
} else {
|
} else {
|
||||||
$('#fldTranscodingVideoCodec', page).hide();
|
$('#fldTranscodingVideoCodec', page).hide();
|
||||||
$('#fldTranscodingProtocol', page).hide();
|
$('#fldTranscodingProtocol', page).hide();
|
||||||
$('#fldEnableMpegtsM2TsMode', page).hide();
|
$('#fldEnableMpegtsM2TsMode', page).hide();
|
||||||
$('#fldVideoProfile', page).hide();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.value == 'Photo') {
|
if (this.value == 'Photo') {
|
||||||
|
|
|
@ -9,10 +9,12 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
IncludeItemTypes: "Episode",
|
IncludeItemTypes: "Episode",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName",
|
Fields: "PrimaryImageAspectRatio,SortName,MediaSourceCount,IsUnidentified",
|
||||||
StartIndex: 0,
|
StartIndex: 0,
|
||||||
IsMissing: false,
|
IsMissing: false,
|
||||||
IsVirtualUnaired: false
|
IsVirtualUnaired: false,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
MediaTypes: "Game",
|
MediaTypes: "Game",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "Genres,Studios,PrimaryImageAspectRatio,SortName",
|
Fields: "Genres,Studios,PrimaryImageAspectRatio,SortName",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -12,7 +12,9 @@
|
||||||
IncludeItemTypes: "Game",
|
IncludeItemTypes: "Game",
|
||||||
Limit: 18,
|
Limit: 18,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
||||||
|
@ -37,7 +39,9 @@
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Filters: "IsPlayed",
|
Filters: "IsPlayed",
|
||||||
Fields: "ItemCounts,AudioInfo,PrimaryImageAspectRatio",
|
Fields: "ItemCounts,AudioInfo,PrimaryImageAspectRatio",
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getItems(userId, options).done(function (result) {
|
ApiClient.getItems(userId, options).done(function (result) {
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
IncludeItemTypes: "GameSystem",
|
IncludeItemTypes: "GameSystem",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "DateCreated",
|
Fields: "DateCreated",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -7,8 +7,10 @@
|
||||||
|
|
||||||
SortBy: "SortName",
|
SortBy: "SortName",
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
Fields: "DateCreated,PrimaryImageAspectRatio",
|
Fields: "DateCreated,PrimaryImageAspectRatio,MediaSourceCount",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
var currentItem;
|
var currentItem;
|
||||||
|
|
|
@ -1575,7 +1575,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.Type != 'TvChannel') {
|
if (item.Type != 'TvChannel') {
|
||||||
if (item.UserData.PlayedPercentage >= 100 || (item.UserData && item.UserData.Played)) {
|
if (item.UserData.PlayedPercentage && item.UserData.PlayedPercentage >= 100 || (item.UserData && item.UserData.Played)) {
|
||||||
return '<div class="playedIndicator"><div class="ui-icon-check ui-btn-icon-notext"></div></div>';
|
return '<div class="playedIndicator"><div class="ui-icon-check ui-btn-icon-notext"></div></div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,9 @@
|
||||||
IncludeItemTypes: "BoxSet",
|
IncludeItemTypes: "BoxSet",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName",
|
Fields: "PrimaryImageAspectRatio,SortName",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -9,8 +9,10 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
IncludeItemTypes: "Movie",
|
IncludeItemTypes: "Movie",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName",
|
Fields: "PrimaryImageAspectRatio,SortName,MediaSourceCount,IsUnidentified",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -13,9 +13,11 @@
|
||||||
|
|
||||||
IncludeItemTypes: "Movie",
|
IncludeItemTypes: "Movie",
|
||||||
Limit: screenWidth >= 1600 ? 28 : (screenWidth >= 1440 ? 30 : (screenWidth >= 800 ? 28 : 18)),
|
Limit: screenWidth >= 1600 ? 28 : (screenWidth >= 1440 ? 30 : (screenWidth >= 800 ? 28 : 18)),
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio,MediaSourceCount",
|
||||||
ParentId: parentId,
|
ParentId: parentId,
|
||||||
IsPlayed: false
|
IsPlayed: false,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
||||||
|
|
|
@ -54,9 +54,11 @@
|
||||||
Filters: "IsResumable",
|
Filters: "IsResumable",
|
||||||
Limit: screenWidth >= 1920 ? 10 : (screenWidth >= 1600 ? 8 : (screenWidth >= 1200 ? 6 : 3)),
|
Limit: screenWidth >= 1920 ? 10 : (screenWidth >= 1600 ? 8 : (screenWidth >= 1200 ? 6 : 3)),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio,MediaSourceCount",
|
||||||
CollapseBoxSetItems: false,
|
CollapseBoxSetItems: false,
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||||
|
@ -84,7 +86,9 @@
|
||||||
userId: Dashboard.getCurrentUserId(),
|
userId: Dashboard.getCurrentUserId(),
|
||||||
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
||||||
ItemLimit: screenWidth >= 1920 ? 10 : (screenWidth >= 1600 ? 7 : (screenWidth >= 1200 ? 7 : 7)),
|
ItemLimit: screenWidth >= 1920 ? 10 : (screenWidth >= 1600 ? 7 : (screenWidth >= 1200 ? 7 : 7)),
|
||||||
Fields: "PrimaryImageAspectRatio"
|
Fields: "PrimaryImageAspectRatio,MediaSourceCount",
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
});
|
});
|
||||||
|
|
||||||
ApiClient.getJSON(url).done(function (recommendations) {
|
ApiClient.getJSON(url).done(function (recommendations) {
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName",
|
Fields: "PrimaryImageAspectRatio,SortName",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName,DateCreated",
|
Fields: "PrimaryImageAspectRatio,SortName,DateCreated",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -10,7 +10,9 @@
|
||||||
IncludeItemTypes: "MusicAlbum",
|
IncludeItemTypes: "MusicAlbum",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName",
|
Fields: "PrimaryImageAspectRatio,SortName",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName,DateCreated",
|
Fields: "PrimaryImageAspectRatio,SortName,DateCreated",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
IncludeItemTypes: "Audio",
|
IncludeItemTypes: "Audio",
|
||||||
Limit: screenWidth >= 1920 ? 24 : (screenWidth >= 1600 ? 21 : (screenWidth >= 1200 ? 21 : 12)),
|
Limit: screenWidth >= 1920 ? 24 : (screenWidth >= 1600 ? 21 : (screenWidth >= 1200 ? 21 : 12)),
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
||||||
|
@ -38,7 +40,9 @@
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||||
Filters: "IsPlayed",
|
Filters: "IsPlayed",
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||||
|
@ -70,7 +74,9 @@
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
Fields: "PrimaryImageAspectRatio,AudioInfo",
|
||||||
Filters: "IsPlayed",
|
Filters: "IsPlayed",
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
|
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "AudioInfo,ParentId",
|
Fields: "AudioInfo,ParentId",
|
||||||
Limit: 200,
|
Limit: 200,
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -15,7 +15,9 @@
|
||||||
Limit: 24,
|
Limit: 24,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
ParentId: parentId,
|
ParentId: parentId,
|
||||||
IsPlayed: false
|
IsPlayed: false,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
Limit: 24,
|
Limit: 24,
|
||||||
Fields: "PrimaryImageAspectRatio,SeriesInfo,DateCreated",
|
Fields: "PrimaryImageAspectRatio,SeriesInfo,DateCreated",
|
||||||
UserId: Dashboard.getCurrentUserId(),
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
ExcludeLocationTypes: "Virtual"
|
ExcludeLocationTypes: "Virtual",
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
query.ParentId = LibraryMenu.getTopParentId();
|
query.ParentId = LibraryMenu.getTopParentId();
|
||||||
|
@ -40,7 +42,9 @@
|
||||||
Limit: 24,
|
Limit: 24,
|
||||||
Fields: "PrimaryImageAspectRatio,SeriesInfo,DateCreated",
|
Fields: "PrimaryImageAspectRatio,SeriesInfo,DateCreated",
|
||||||
UserId: Dashboard.getCurrentUserId(),
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
ExcludeLocationTypes: "Virtual"
|
ExcludeLocationTypes: "Virtual",
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
query.ParentId = LibraryMenu.getTopParentId();
|
query.ParentId = LibraryMenu.getTopParentId();
|
||||||
|
@ -99,7 +103,9 @@
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData",
|
Fields: "PrimaryImageAspectRatio,SeriesInfo,UserData",
|
||||||
ExcludeLocationTypes: "Virtual",
|
ExcludeLocationTypes: "Virtual",
|
||||||
ParentId: parentId
|
ParentId: parentId,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
ApiClient.getItems(Dashboard.getCurrentUserId(), options).done(function (result) {
|
||||||
|
|
|
@ -10,7 +10,9 @@
|
||||||
IncludeItemTypes: "Series",
|
IncludeItemTypes: "Series",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,SortName",
|
Fields: "PrimaryImageAspectRatio,SortName",
|
||||||
StartIndex: 0
|
StartIndex: 0,
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
function getSavedQueryKey() {
|
function getSavedQueryKey() {
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
|
|
||||||
Limit: 32,
|
Limit: 32,
|
||||||
Fields: "SeriesInfo,UserData",
|
Fields: "SeriesInfo,UserData",
|
||||||
UserId: Dashboard.getCurrentUserId()
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
|
ImageTypeLimit: 1,
|
||||||
|
EnableImageTypes: "Primary,Backdrop,Banner,Logo,Thumb"
|
||||||
};
|
};
|
||||||
|
|
||||||
query.ParentId = LibraryMenu.getTopParentId();
|
query.ParentId = LibraryMenu.getTopParentId();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue