diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-01 15:17:24 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-01 15:17:24 -0500 |
| commit | 80a56ddcfaf31655beb5e83d1fc904295b814c33 (patch) | |
| tree | 6951ede80dd0b45677c9369491837731e2ddf377 | |
| parent | 7ac2f7481734694ae411f5481c6a73264671b55b (diff) | |
fixes #635 - FFmpeg not being stopped in safari
| -rw-r--r-- | MediaBrowser.WebDashboard/ApiClient.js | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/MediaBrowser.WebDashboard/ApiClient.js b/MediaBrowser.WebDashboard/ApiClient.js index de96c4de94..16e2ae3b96 100644 --- a/MediaBrowser.WebDashboard/ApiClient.js +++ b/MediaBrowser.WebDashboard/ApiClient.js @@ -1036,7 +1036,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi self.getScheduledTasks = function (options) { options = options || {}; - + var url = self.getUrl("ScheduledTasks", options); return self.ajax({ @@ -1402,6 +1402,19 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi }); }; + self.stopActiveEncodings = function () { + + var url = self.getUrl("Videos/ActiveEncodings", { + + deviceId: deviceId + }); + + return self.ajax({ + type: "DELETE", + url: url + }); + }; + self.updateItemImageIndex = function (itemId, itemType, itemName, imageType, imageIndex, newIndex) { if (!imageType) { |
