@@ -48,11 +48,5 @@ namespace MediaBrowser.Model.Entities
/// </summary>
/// <value>The caption.</value>
public string Caption { get; set; }
-
- /// <summary>
- /// Gets or sets the text.
- /// </summary>
- /// <value>The text.</value>
- public string Text { get; set; }
}
@@ -838,6 +838,32 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
});
};
+ self.getCriticReviews = function (itemId, options) {
+
+ if (!itemId) {
+ throw new Error("null itemId");
+ }
+ var url = self.getUrl("Items/" + itemId + "/CriticReviews", options);
+ return self.ajax({
+ type: "GET",
+ url: url,
+ dataType: "json"
+ });
+ };
+ self.getSessions = function (options) {
+ var url = self.getUrl("Sessions", options);
/**
* Uploads a user image
* @param {String} userId
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="MediaBrowser.ApiClient.Javascript" version="3.0.104" targetFramework="net45" />
+ <package id="MediaBrowser.ApiClient.Javascript" version="3.0.105" targetFramework="net45" />
<package id="ServiceStack.Common" version="3.9.44" targetFramework="net45" />
<package id="ServiceStack.Text" version="3.9.44" targetFramework="net45" />
</packages>