1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update recording dialogs

This commit is contained in:
Luke Pulverenti 2016-09-14 12:20:03 -04:00
parent 315868b6d6
commit 66b4ed053b
20 changed files with 165 additions and 191 deletions

View file

@ -10,7 +10,13 @@
type: 'MusicArtist'
});
}
if (item.ProgramCount) {
sections.push({
name: Globalize.translate('HeaderUpcomingOnTV'),
type: 'Program'
});
}
if (item.MovieCount) {
sections.push({
@ -108,6 +114,24 @@
switch (type) {
case 'Program':
loadItems(element, item, type, {
MediaTypes: "",
IncludeItemTypes: "Program",
PersonTypes: "",
ArtistIds: "",
Limit: 10
}, {
shape: "backdrop",
showTitle: true,
centerText: true,
overlayMoreButton: true,
preferThumb: true,
overlayText: false,
showProgramAirInfo: true
});
break;
case 'Movie':
loadItems(element, item, type, {
MediaTypes: "",
@ -119,7 +143,8 @@
shape: "portrait",
showTitle: true,
centerText: true,
overlayMoreButton: true
overlayMoreButton: true,
overlayText: false
});
break;

View file

@ -565,7 +565,8 @@
var itemMiscInfo = page.querySelectorAll('.itemMiscInfo');
for (i = 0, length = itemMiscInfo.length; i < length; i++) {
mediaInfo.fillPrimaryMediaInfo(itemMiscInfo[i], item, {
interactive: true
interactive: true,
episodeTitle: false
});
}
var itemGenres = page.querySelectorAll('.itemGenres');

View file

@ -89,7 +89,8 @@
showChannelName: true,
lazy: true,
cardLayout: true,
action: 'edit'
action: 'edit',
cardFooterAside: 'none'
});
html += '</div>';

View file

@ -84,7 +84,9 @@
coverImage: true,
lazy: true,
cardLayout: true,
allowBottomPadding: !enableScrollX()
allowBottomPadding: !enableScrollX(),
preferThumb: 'auto'
}, cardOptions || {}));
ImageLoader.lazyChildren(recordingItems);
@ -117,7 +119,8 @@
Limit: enableScrollX() ? 12 : 8,
IsInProgress: false,
Fields: 'CanDelete,PrimaryImageAspectRatio,BasicSyncInfo',
EnableTotalRecordCount: false
EnableTotalRecordCount: false,
EnableImageTypes: "Primary,Thumb"
}).then(function (result) {

View file

@ -28,7 +28,7 @@
IsAiring: true,
limit: limit,
ImageTypeLimit: 1,
EnableImageTypes: "Primary",
EnableImageTypes: "Primary,Thumb",
Fields: "ChannelInfo"
}).then(function (result) {
@ -53,7 +53,8 @@
IsKids: false,
IsSeries: true,
EnableTotalRecordCount: false,
Fields: "ChannelInfo"
Fields: "ChannelInfo",
EnableImageTypes: "Primary,Thumb"
}).then(function (result) {
@ -68,7 +69,8 @@
limit: getLimit(),
IsMovie: true,
EnableTotalRecordCount: false,
Fields: "ChannelInfo"
Fields: "ChannelInfo",
EnableImageTypes: "Primary,Thumb"
}).then(function (result) {
@ -83,7 +85,8 @@
limit: getLimit(),
IsSports: true,
EnableTotalRecordCount: false,
Fields: "ChannelInfo"
Fields: "ChannelInfo",
EnableImageTypes: "Primary,Thumb"
}).then(function (result) {
@ -98,7 +101,8 @@
limit: getLimit(),
IsKids: true,
EnableTotalRecordCount: false,
Fields: "ChannelInfo"
Fields: "ChannelInfo",
EnableImageTypes: "Primary,Thumb"
}).then(function (result) {

View file

@ -457,8 +457,8 @@
centerText: true,
overlayText: false,
lazy: true,
autoThumb: true,
transition: false,
preferThumb: true,
allowBottomPadding: !enableScrollX()
});
html += '</div>';