diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-23 08:59:40 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-23 08:59:40 -0400 |
| commit | 977f8e970a74536276ba6c91055008bd4c851439 (patch) | |
| tree | 24d0387550417f26f3ce7b36d7d8712b693add96 /MediaBrowser.Api/ApiService.cs | |
| parent | 4527a187387295d73568bc3eef18aaad78633dfd (diff) | |
Added VideoType.ISO and trimmed Person output size
Diffstat (limited to 'MediaBrowser.Api/ApiService.cs')
| -rw-r--r-- | MediaBrowser.Api/ApiService.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs index dd9c575f1..f52141a64 100644 --- a/MediaBrowser.Api/ApiService.cs +++ b/MediaBrowser.Api/ApiService.cs @@ -206,7 +206,9 @@ namespace MediaBrowser.Api {
BaseItemPerson baseItemPerson = new BaseItemPerson();
- baseItemPerson.PersonInfo = p;
+ baseItemPerson.Name = p.Name;
+ baseItemPerson.Overview = p.Overview;
+ baseItemPerson.Type = p.Type;
Person ibnObject = entities.First(i => i.Name.Equals(p.Name, StringComparison.OrdinalIgnoreCase));
@@ -263,7 +265,7 @@ namespace MediaBrowser.Api {
Id = entity.Id,
BaseItemCount = itemCount,
- HasPrimaryImage = !string.IsNullOrEmpty(entity.PrimaryImagePath),
+ HasImage = !string.IsNullOrEmpty(entity.PrimaryImagePath),
Name = entity.Name
};
}
|
