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

add udp error handling

This commit is contained in:
Luke Pulverenti 2016-11-04 19:57:21 -04:00
parent d7846a5280
commit fab42af1a5
4 changed files with 19 additions and 7 deletions

View file

@ -434,13 +434,19 @@
var screenWidth = dom.getWindowSize().innerWidth;
var limit = screenWidth >= 1920 ? 8 : (screenWidth >= 1600 ? 8 : (screenWidth >= 1200 ? 9 : 6));
if (!enableScrollX()) {
limit = Math.min(limit, 5);
}
var options = {
SortBy: "DatePlayed",
SortOrder: "Descending",
MediaTypes: "Video",
Filters: "IsResumable",
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1600 ? 8 : (screenWidth >= 1200 ? 9 : 6)),
Limit: limit,
Recursive: true,
Fields: "PrimaryImageAspectRatio,BasicSyncInfo",
CollapseBoxSetItems: false,