mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-06 06:12:52 +01:00
Added api methods to get movie special features
This commit is contained in:
parent
29cdf55e44
commit
f68137ec4a
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user