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

update call to stop transcoding

This commit is contained in:
Luke Pulverenti 2015-03-20 13:29:18 -04:00
parent a0b521f2eb
commit f555ca2e79
2 changed files with 16 additions and 6 deletions

View file

@ -1881,12 +1881,17 @@
});
};
self.stopActiveEncodings = function () {
var url = self.getUrl("Videos/ActiveEncodings", {
self.stopActiveEncodings = function (streamId) {
var options = {
deviceId: deviceId
});
};
if (streamId) {
options.streamId = streamId;
}
var url = self.getUrl("Videos/ActiveEncodings", options);
return self.ajax({
type: "DELETE",