The Free Software Media System - Server Backend & API
adding people edit screen
Luis Miguel Almánzarce971ea4a60f
diff --git a/MediaBrowser.Api/LibraryService.cs b/MediaBrowser.Api/LibraryService.csindex d8e3881e69..cee39f240d 100644--- a/MediaBrowser.Api/LibraryService.cs+++ b/MediaBrowser.Api/LibraryService.cs@@ -256,6 +256,7 @@ namespace MediaBrowser.Apiitem.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.csindex a44123a399..cfca97f237 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.csprojindex 960e492f70..809c93a0b7 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>