aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/ApiClient.js
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-01 22:53:27 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-01 22:53:27 -0500
commite80cbe5b64fa85a814e8e3009c28b1853dc23988 (patch)
tree248ce371dff0139de1daf509d2324a1374b29732 /MediaBrowser.WebDashboard/ApiClient.js
parentb9d17c9bc765a0c59d81db6277300a6860bf8421 (diff)
reduce image indicator sizes
Diffstat (limited to 'MediaBrowser.WebDashboard/ApiClient.js')
-rw-r--r--MediaBrowser.WebDashboard/ApiClient.js23
1 files changed, 19 insertions, 4 deletions
diff --git a/MediaBrowser.WebDashboard/ApiClient.js b/MediaBrowser.WebDashboard/ApiClient.js
index 592cf2bad..73f0207b8 100644
--- a/MediaBrowser.WebDashboard/ApiClient.js
+++ b/MediaBrowser.WebDashboard/ApiClient.js
@@ -395,10 +395,10 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
throw new Error("null id");
}
- var options = {
-
+ var options = {
+
};
-
+
if (userId) {
options.userId = userId;
}
@@ -456,6 +456,21 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
});
};
+ self.getLiveTvRecordingGroup = function (id) {
+
+ if (!id) {
+ throw new Error("null id");
+ }
+
+ var url = self.getUrl("LiveTv/Recordings/Groups/" + id);
+
+ return self.ajax({
+ type: "GET",
+ url: url,
+ dataType: "json"
+ });
+ };
+
self.getLiveTvRecording = function (id, userId) {
if (!id) {
@@ -559,7 +574,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
self.getNewLiveTvTimerDefaults = function (options) {
options = options || {};
-
+
var url = self.getUrl("LiveTv/Timers/Defaults", options);
return self.ajax({