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

update auto-organize

This commit is contained in:
Luke Pulverenti 2016-02-09 12:13:38 -05:00
parent 8aa5acfee4
commit d665b12b82
4 changed files with 48 additions and 24 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.0.34",
"_release": "1.0.34",
"version": "1.0.35",
"_release": "1.0.35",
"_resolution": {
"type": "version",
"tag": "1.0.34",
"commit": "1bbacdd65aa7c7af955cdd7f0500a4419064a98b"
"tag": "1.0.35",
"commit": "d84b62c2a98faed179e07ef805e54cd7e6d2e036"
},
"_source": "git://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "~1.0.3",

View file

@ -3414,5 +3414,35 @@
return self.getJSON(url);
};
self.getSmartMatchInfos = function (options) {
options = options || {};
var url = self.getUrl("Library/FileOrganizations/SmartMatches", options);
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
self.deleteSmartMatchEntry = function (name, options) {
var url = self.getUrl("Library/FileOrganizations/SmartMatches", options || {});
var postData = {
Name: name
};
return self.ajax({
type: "POST",
url: url,
data: JSON.stringify(postData),
contentType: "application/json"
});
};
};
});