diff --git a/ApiClient.js b/ApiClient.js index a55879d2da..3254b84f36 100644 --- a/ApiClient.js +++ b/ApiClient.js @@ -342,6 +342,23 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi return urlPrefix; } + self.getRemoteImageProviders = function (options) { + + if (!options) { + throw new Error("null options"); + } + + var urlPrefix = getRemoteImagePrefix(options); + + var url = self.getUrl(urlPrefix + "/RemoteImages/Providers", options); + + return self.ajax({ + type: "GET", + url: url, + dataType: "json" + }); + }; + self.getAvailableRemoteImages = function (options) { if (!options) { diff --git a/dashboard-ui/edititemimages.html b/dashboard-ui/edititemimages.html index c081127305..0072555219 100644 --- a/dashboard-ui/edititemimages.html +++ b/dashboard-ui/edititemimages.html @@ -23,8 +23,13 @@
- Browse Online Images - Upload Image + +
+ Browse Online Images +
+
+ Upload Image +