mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-04 13:22:52 +01:00
added new item by name filters
This commit is contained in:
@@ -378,20 +378,9 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
||||
});
|
||||
};
|
||||
|
||||
self.getAuthorizedFeatures = function (options) {
|
||||
self.getLiveTvInfo = function (options) {
|
||||
|
||||
var url = self.getUrl("Users/AuthorizedFeatures", options || {});
|
||||
|
||||
return self.ajax({
|
||||
type: "GET",
|
||||
url: url,
|
||||
dataType: "json"
|
||||
});
|
||||
};
|
||||
|
||||
self.getLiveTvServices = function (options) {
|
||||
|
||||
var url = self.getUrl("LiveTv/Services", options || {});
|
||||
var url = self.getUrl("LiveTv/Info", options || {});
|
||||
|
||||
return self.ajax({
|
||||
type: "GET",
|
||||
@@ -2714,22 +2703,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
||||
});
|
||||
};
|
||||
|
||||
self.updateLiveTvChannel = function (item) {
|
||||
|
||||
if (!item) {
|
||||
throw new Error("null item");
|
||||
}
|
||||
|
||||
var url = self.getUrl("LiveTv/Channels/" + item.Id);
|
||||
|
||||
return self.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: JSON.stringify(item),
|
||||
contentType: "application/json"
|
||||
});
|
||||
};
|
||||
|
||||
self.updateArtist = function (item) {
|
||||
|
||||
if (!item) {
|
||||
|
||||
Reference in New Issue
Block a user