diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-22 00:38:03 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-22 00:38:03 -0400 |
| commit | 374b7f2f039211d5a8fb80348b72070841f393ec (patch) | |
| tree | 65ba8f81ed5a53e9ba0222f677710f2a918b6230 /MediaBrowser.Api/UserLibrary/ItemsService.cs | |
| parent | 1a153cbd39894e2e70373f85590dc03326f31723 (diff) | |
new Artist entity
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemsService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index 79e00998f..7d3581846 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -22,6 +22,13 @@ namespace MediaBrowser.Api.UserLibrary public class GetItems : BaseItemsRequest, IReturn<ItemsResult> { /// <summary> + /// Gets or sets the user id. + /// </summary> + /// <value>The user id.</value> + [ApiMember(Name = "UserId", Description = "User Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] + public Guid UserId { get; set; } + + /// <summary> /// Limit results to items containing a specific person /// </summary> /// <value>The person.</value> @@ -328,7 +335,7 @@ namespace MediaBrowser.Api.UserLibrary }); case ItemFilter.IsRecentlyAdded: - return items.Where(item => item.IsRecentlyAdded(currentUser)); + return items.Where(item => item.IsRecentlyAdded()); case ItemFilter.IsResumable: return items.Where(item => |
