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

Display more content on home page

This commit is contained in:
Luke Pulverenti 2014-05-29 15:34:20 -04:00
parent a859e2b4be
commit 06d87cc76f
24 changed files with 284 additions and 150 deletions

View file

@ -4,14 +4,11 @@
var page = this;
var parentId = LibraryMenu.getTopParentId();
var query = {
Limit: 32,
Fields: "SeriesInfo,UserData",
UserId: Dashboard.getCurrentUserId(),
ParentId: parentId
UserId: Dashboard.getCurrentUserId()
};
$.getJSON(ApiClient.getUrl("Shows/Upcoming", query)).done(function (result) {
@ -31,9 +28,11 @@
showTitle: true,
showPremiereDate: true,
showPremiereDateIndex: true,
preferThumb: true
preferThumb: true,
context: 'home-upcoming',
lazy: true
})).createPosterItemMenus();
})).trigger('create').createPosterItemMenus();
});
});