diff options
| author | Luis Miguel Almánzar <ruisu15@gmail.com> | 2013-06-09 03:50:35 -0400 |
|---|---|---|
| committer | Luis Miguel Almánzar <ruisu15@gmail.com> | 2013-06-09 03:50:49 -0400 |
| commit | ce971ea4a60f786c09f28e165bf0ac0ad03ab5fd (patch) | |
| tree | 45646a77d9d89842fdfe972e4e9ee742641dc8df | |
| parent | a247ef833c62a553d69b92c0465e20d736629b5f (diff) | |
adding people edit screen
| -rw-r--r-- | MediaBrowser.Api/LibraryService.cs | 1 | ||||
| -rw-r--r-- | MediaBrowser.WebDashboard/Api/DashboardService.cs | 1 | ||||
| -rw-r--r-- | MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.cs index d8e3881e6..cee39f240 100644 --- a/MediaBrowser.Api/LibraryService.cs +++ b/MediaBrowser.Api/LibraryService.cs @@ -256,6 +256,7 @@ namespace MediaBrowser.Api item.Genres = request.Genres; item.Tags = request.Tags; item.Studios = request.Studios.Select(x=>x.Name).ToList(); + item.People = request.People.Select(x=> new PersonInfo{Name = x.Name,Role = x.Role,Type = x.Type}).ToList(); item.EndDate = request.EndDate; item.PremiereDate = request.PremiereDate; diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs index a44123a39..cfca97f23 100644 --- a/MediaBrowser.WebDashboard/Api/DashboardService.cs +++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs @@ -462,6 +462,7 @@ namespace MediaBrowser.WebDashboard.Api "clientsettings.js", "dashboardpage.js", "edititemmetadata.js", + "edititempeople.js", "edititemimages.js", "edituserpage.js", "gamesrecommendedpage.js", diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 960e492f7..809c93a0b 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -84,6 +84,9 @@ <Content Include="dashboard-ui\boxsets.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ <Content Include="dashboard-ui\edititempeople.html">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
<Content Include="dashboard-ui\css\detailtable.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
@@ -351,6 +354,9 @@ <Content Include="dashboard-ui\scripts\alphapicker.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ <Content Include="dashboard-ui\scripts\edititempeople.js">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
<Content Include="dashboard-ui\scripts\edititemimages.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
|
