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

update channel styles

This commit is contained in:
Luke Pulverenti 2014-06-16 08:22:38 -04:00
parent 4beb349afe
commit 812a07005b
7 changed files with 50 additions and 17 deletions

View file

@ -149,7 +149,7 @@
SortBy: "DateCreated",
SortOrder: "Descending",
Limit: screenWidth >= 2400 ? 30 : (screenWidth >= 1920 ? 20 : (screenWidth >= 1440 ? 12 : (screenWidth >= 800 ? 9 : 8))),
Limit: screenWidth >= 2400 ? 30 : (screenWidth >= 1920 ? 20 : (screenWidth >= 1440 ? 10 : (screenWidth >= 800 ? 9 : 8))),
Recursive: true,
Fields: "PrimaryImageAspectRatio",
Filters: "IsUnplayed,IsNotFolder",
@ -187,7 +187,7 @@
var options = {
Limit: 6,
Limit: screenWidth >= 2400 ? 10 : (screenWidth >= 1920 ? 10 : (screenWidth >= 1440 ? 8 : (screenWidth >= 800 ? 8 : 6))),
Fields: "PrimaryImageAspectRatio",
Filters: "IsUnplayed",
UserId: userId
@ -334,7 +334,7 @@
loadLibraryTiles(elem, userId, 'backdrop', index);
}
else if (section == 'smalllibrarytiles') {
loadLibraryTiles(elem, userId, 'smallBackdrop', index);
loadLibraryTiles(elem, userId, 'miniBackdrop', index);
}
else if (section == 'resume') {
loadResume(elem, userId);