The Free Software Media System - Server Backend & API
created a separate gallery page
Luke Pulverentif82085b21e8a
diff --git a/MediaBrowser.Controller/IO/FileData.cs b/MediaBrowser.Controller/IO/FileData.csindex 0d253beba1..2a62d98d01 100644--- a/MediaBrowser.Controller/IO/FileData.cs+++ b/MediaBrowser.Controller/IO/FileData.cs@@ -52,14 +52,10 @@ namespace MediaBrowser.Controller.IOif (data.Exists){- // Find out if the shortcut is pointing to a directory or file- if (data.Attributes.HasFlag(FileAttributes.Directory))+ // add to our physical locations+ if (args != null){- // add to our physical locations- if (args != null)- {- args.AddAdditionalLocation(newPath);- }+ args.AddAdditionalLocation(newPath);}dict[data.FullName] = data;diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex 5ef413b55e..a44123a399 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -472,6 +472,7 @@ namespace MediaBrowser.WebDashboard.Api"indexpage.js","itembynamedetailpage.js","itemdetailpage.js",+ "itemgallery.js","itemlistpage.js","librarysettings.js","loginpage.js",diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex c87b6f8fc0..7927772cab 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -294,6 +294,9 @@</Content></ItemGroup><ItemGroup>+ <Content Include="dashboard-ui\itemgallery.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\librarysettings.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -339,6 +342,9 @@<Content Include="dashboard-ui\scripts\edititemmetadata.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\itemgallery.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\librarysettings.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>