diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 16a64080fb..bc836fe3a5 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -16,12 +16,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.2.66", - "_release": "1.2.66", + "version": "1.2.67", + "_release": "1.2.67", "_resolution": { "type": "version", - "tag": "1.2.66", - "commit": "882a508b902015305d2058b236131c53f95f320a" + "tag": "1.2.67", + "commit": "47093f0f441935b5ccc02999f1981e2e274fb1dc" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js index 19c376425f..17ae30de98 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js @@ -112,7 +112,8 @@ }).join(','), ImageTypeLimit: 1, EnableImageTypes: "Primary,Backdrop", - SortBy: "StartDate" + SortBy: "StartDate", + EnableTotalRecordCount: false }).then(function (programsResult) { diff --git a/dashboard-ui/bower_components/emby-webcomponents/images/imagehelper.js b/dashboard-ui/bower_components/emby-webcomponents/images/imagehelper.js index 0247b0f3cf..ac70660538 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/images/imagehelper.js +++ b/dashboard-ui/bower_components/emby-webcomponents/images/imagehelper.js @@ -1,7 +1,26 @@ -define(['visibleinviewport', 'imageFetcher'], function (visibleinviewport, imageFetcher) { +define(['visibleinviewport', 'imageFetcher', 'layoutManager', 'events'], function (visibleinviewport, imageFetcher, layoutManager, events) { - var thresholdX = screen.availWidth; - var thresholdY = screen.availHeight; + var thresholdX; + var thresholdY; + + function resetThresholds() { + + var x = screen.availWidth; + var y = screen.availHeight; + + if (layoutManager.mobile) { + x *= 2; + y *= 2; + } + + thresholdX = x; + thresholdY = y; + } + + resetThresholds(); + + window.addEventListener("orientationchange", resetThresholds); + events.on(layoutManager, 'modechange', resetThresholds); var wheelEvent = (document.implementation.hasFeature('Event.wheel', '3.0') ? 'wheel' : 'mousewheel'); diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index 1da99816d3..e5306ccfc9 100644 --- a/dashboard-ui/bower_components/iron-selector/.bower.json +++ b/dashboard-ui/bower_components/iron-selector/.bower.json @@ -36,7 +36,7 @@ "tag": "v1.5.1", "commit": "e3e34408fad8f7cde59c4255cf3fe90f7dcf91d8" }, - "_source": "git://github.com/polymerelements/iron-selector.git", + "_source": "git://github.com/PolymerElements/iron-selector.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-selector" + "_originalSource": "PolymerElements/iron-selector" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-behaviors/.bower.json b/dashboard-ui/bower_components/paper-behaviors/.bower.json index a6b333d335..2b04bf9f8a 100644 --- a/dashboard-ui/bower_components/paper-behaviors/.bower.json +++ b/dashboard-ui/bower_components/paper-behaviors/.bower.json @@ -45,7 +45,7 @@ "tag": "v1.0.11", "commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5" }, - "_source": "git://github.com/polymerelements/paper-behaviors.git", + "_source": "git://github.com/PolymerElements/paper-behaviors.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/paper-behaviors" + "_originalSource": "PolymerElements/paper-behaviors" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-ripple/.bower.json b/dashboard-ui/bower_components/paper-ripple/.bower.json index 2f654d71c6..157225ee71 100644 --- a/dashboard-ui/bower_components/paper-ripple/.bower.json +++ b/dashboard-ui/bower_components/paper-ripple/.bower.json @@ -32,14 +32,14 @@ "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/paper-ripple", + "homepage": "https://github.com/PolymerElements/paper-ripple", "_release": "1.0.5", "_resolution": { "type": "version", "tag": "v1.0.5", "commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5" }, - "_source": "git://github.com/polymerelements/paper-ripple.git", + "_source": "git://github.com/PolymerElements/paper-ripple.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/paper-ripple" + "_originalSource": "PolymerElements/paper-ripple" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json index 3e8a4009a3..bbad7fe7ba 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -34,6 +34,6 @@ "commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514" }, "_source": "git://github.com/Polymer/polymer.git", - "_target": "^1.0.0", + "_target": "^1.1.0", "_originalSource": "Polymer/polymer" } \ No newline at end of file diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 829d3a61f3..76a122da6a 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -44,7 +44,7 @@ iron-list .card { } .cardBox { - margin: 4px; + margin: 5px; } @media all and (max-width: 500px) { diff --git a/dashboard-ui/scripts/homeupcoming.js b/dashboard-ui/scripts/homeupcoming.js index 9dd12ac305..54a7beed86 100644 --- a/dashboard-ui/scripts/homeupcoming.js +++ b/dashboard-ui/scripts/homeupcoming.js @@ -13,7 +13,8 @@ Fields: "AirTime,UserData,SeriesStudio,SyncInfo", UserId: Dashboard.getCurrentUserId(), ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: 0 }; ApiClient.getJSON(ApiClient.getUrl("Shows/Upcoming", query)).then(function (result) { diff --git a/dashboard-ui/scripts/livetvsuggested.js b/dashboard-ui/scripts/livetvsuggested.js index 9e65f2c69d..177253c877 100644 --- a/dashboard-ui/scripts/livetvsuggested.js +++ b/dashboard-ui/scripts/livetvsuggested.js @@ -31,7 +31,8 @@ IsAiring: true, limit: getLimit() * 2, ImageTypeLimit: 1, - EnableImageTypes: "Primary" + EnableImageTypes: "Primary", + EnableTotalRecordCount: false }).then(function (result) { @@ -54,7 +55,8 @@ IsMovie: false, IsSports: false, IsKids: false, - IsSeries: true + IsSeries: true, + EnableTotalRecordCount: false }).then(function (result) { @@ -67,7 +69,8 @@ IsAiring: false, HasAired: false, limit: getLimit(), - IsMovie: true + IsMovie: true, + EnableTotalRecordCount: false }).then(function (result) { @@ -80,7 +83,8 @@ IsAiring: false, HasAired: false, limit: getLimit(), - IsSports: true + IsSports: true, + EnableTotalRecordCount: false }).then(function (result) { @@ -93,7 +97,8 @@ IsAiring: false, HasAired: false, limit: getLimit(), - IsKids: true + IsKids: true, + EnableTotalRecordCount: false }).then(function (result) { diff --git a/dashboard-ui/scripts/moviesrecommended.js b/dashboard-ui/scripts/moviesrecommended.js index 62170b9233..3de56869e9 100644 --- a/dashboard-ui/scripts/moviesrecommended.js +++ b/dashboard-ui/scripts/moviesrecommended.js @@ -33,7 +33,8 @@ Fields: "PrimaryImageAspectRatio,MediaSourceCount,SyncInfo", ParentId: parentId, ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: false }; ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).then(function (items) { @@ -90,7 +91,8 @@ CollapseBoxSetItems: false, ParentId: parentId, ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: false }; ApiClient.getItems(userId, options).then(function (result) { diff --git a/dashboard-ui/scripts/musicrecommended.js b/dashboard-ui/scripts/musicrecommended.js index cbc244e600..d8d208f0c0 100644 --- a/dashboard-ui/scripts/musicrecommended.js +++ b/dashboard-ui/scripts/musicrecommended.js @@ -27,7 +27,8 @@ Fields: "PrimaryImageAspectRatio,SyncInfo", ParentId: parentId, ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: false }; ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).then(function (items) { @@ -66,7 +67,8 @@ Filters: "IsPlayed", ParentId: parentId, ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: false }; ApiClient.getItems(Dashboard.getCurrentUserId(), options).then(function (result) { @@ -111,7 +113,8 @@ Filters: "IsPlayed", ParentId: parentId, ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: false }; ApiClient.getItems(Dashboard.getCurrentUserId(), options).then(function (result) { @@ -153,7 +156,8 @@ Recursive: true, Fields: "PrimaryImageAspectRatio,SortName,CumulativeRunTimeTicks,CanDelete,SyncInfo", StartIndex: 0, - Limit: itemsPerRow() + Limit: itemsPerRow(), + EnableTotalRecordCount: false }; ApiClient.getItems(Dashboard.getCurrentUserId(), options).then(function (result) { diff --git a/dashboard-ui/scripts/sections.js b/dashboard-ui/scripts/sections.js index b8c4f44bf5..1525c30b80 100644 --- a/dashboard-ui/scripts/sections.js +++ b/dashboard-ui/scripts/sections.js @@ -498,7 +498,8 @@ CollapseBoxSetItems: false, ExcludeLocationTypes: "Virtual", ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: 0 }; return ApiClient.getItems(userId, options).then(function (result) { diff --git a/dashboard-ui/scripts/tvrecommended.js b/dashboard-ui/scripts/tvrecommended.js index fca3580f20..642c584e6f 100644 --- a/dashboard-ui/scripts/tvrecommended.js +++ b/dashboard-ui/scripts/tvrecommended.js @@ -112,7 +112,8 @@ ExcludeLocationTypes: "Virtual", ParentId: parentId, ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: 0 }; ApiClient.getItems(Dashboard.getCurrentUserId(), options).then(function (result) { diff --git a/dashboard-ui/scripts/tvupcoming.js b/dashboard-ui/scripts/tvupcoming.js index c6ce40c3dd..27142bf92d 100644 --- a/dashboard-ui/scripts/tvupcoming.js +++ b/dashboard-ui/scripts/tvupcoming.js @@ -14,7 +14,8 @@ Fields: "AirTime,UserData,SeriesStudio,SyncInfo", UserId: Dashboard.getCurrentUserId(), ImageTypeLimit: 1, - EnableImageTypes: "Primary,Backdrop,Banner,Thumb" + EnableImageTypes: "Primary,Backdrop,Banner,Thumb", + EnableTotalRecordCount: 0 }; query.ParentId = params.topParentId;