Added api methods to get movie special features

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-09 21:52:33 -04:00
parent 29cdf55e44
commit f68137ec4a
8 changed files with 104 additions and 0 deletions

View File

@@ -450,6 +450,20 @@ namespace MediaBrowser.ApiInteraction
}
}
/// <summary>
/// Gets special features for a Movie
/// </summary>
public async Task<DTOBaseItem[]> GetMovieSpecialFeaturesAsync(Guid itemId, Guid userId)
{
string url = ApiUrl + "/MovieSpecialFeatures?id=" + itemId;
url += "&userid=" + userId;
using (Stream stream = await GetSerializedStreamAsync(url).ConfigureAwait(false))
{
return DeserializeFromStream<DTOBaseItem[]>(stream);
}
}
/// <summary>
/// Updates a user's favorite status for an item and returns the updated UserItemData object.
/// </summary>