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;