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
+3 -3
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);
+3 -3
View File
@@ -289,9 +289,9 @@
var extension = (mediaSource.Container || '').toLowerCase();
// m4v's with high profile failing in chrome
if (videoStream && videoStream.Profile == 'High' && extension == 'm4v') {
return false;
// m4v's and mp4's with high profile failing in chrome
if (videoStream && videoStream.Profile == 'High') {
//return false;
}
if (extension == 'm4v') {