diff --git a/ApiClient.js b/ApiClient.js index fe0e5e541f..b35341ebb0 100644 --- a/ApiClient.js +++ b/ApiClient.js @@ -438,7 +438,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi options = options || {}; - if (options.channelIds) { + if (options.channelIds && options.channelIds.length > 1800) { return self.ajax({ type: "POST", @@ -458,6 +458,17 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi } }; + self.getLiveTvRecommendedPrograms = function (options) { + + options = options || {}; + + return self.ajax({ + type: "GET", + url: self.getUrl("LiveTv/Programs/Recommended", options), + dataType: "json" + }); + }; + self.getLiveTvRecordings = function (options) { var url = self.getUrl("LiveTv/Recordings", options || {}); diff --git a/dashboard-ui/css/mediaplayer.css b/dashboard-ui/css/mediaplayer.css index 1cc1c984d7..5951ff5ec1 100644 --- a/dashboard-ui/css/mediaplayer.css +++ b/dashboard-ui/css/mediaplayer.css @@ -76,7 +76,6 @@ height: auto; width: 270px; bottom: 45px; - left: -290px; border: 1px solid #444; background: #000; } @@ -173,10 +172,6 @@ input[type="range"]::-ms-fill-upper { .positionSliderContainer { width: 50px; } - - .itemVideo:not(.fullscreenVideo) { - left: -250px; - } } @media all and (max-width: 750px) { @@ -291,28 +286,16 @@ input[type="range"]::-ms-fill-upper { .positionSliderContainer { width: 300px; } - - .itemVideo { - left: -420px; - } } @media (min-width: 1700px) { .itemVideo:not(.fullscreenVideo) { width: 500px; } - - .itemVideo { - left: -420px; - } } @media (min-width: 2400px) { .itemVideo:not(.fullscreenVideo) { width: 550px; } - - .itemVideo { - left: -400px; - } } diff --git a/dashboard-ui/livetvsuggested.html b/dashboard-ui/livetvsuggested.html index cf4904df8c..8494eb5432 100644 --- a/dashboard-ui/livetvsuggested.html +++ b/dashboard-ui/livetvsuggested.html @@ -14,6 +14,22 @@ Series
+
+
+ What's On+ ++
+
+ Upcoming TV+ ++ |
+