mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
fixes #635 - FFmpeg not being stopped in safari
This commit is contained in:
parent
7ac2f74817
commit
80a56ddcfa
1 changed files with 14 additions and 1 deletions
|
@ -1036,7 +1036,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
||||||
self.getScheduledTasks = function (options) {
|
self.getScheduledTasks = function (options) {
|
||||||
|
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
var url = self.getUrl("ScheduledTasks", options);
|
var url = self.getUrl("ScheduledTasks", options);
|
||||||
|
|
||||||
return self.ajax({
|
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) {
|
self.updateItemImageIndex = function (itemId, itemType, itemName, imageType, imageIndex, newIndex) {
|
||||||
|
|
||||||
if (!imageType) {
|
if (!imageType) {
|
||||||
|
|
Loading…
Reference in a new issue