1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixes #635 - FFmpeg not being stopped in safari

This commit is contained in:
Luke Pulverenti 2013-12-01 15:17:24 -05:00
parent 2aa7e92987
commit 4a439addcd
2 changed files with 26 additions and 4 deletions

View file

@ -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) {