The Free Software Media System - Server Backend & API
added library settings page
Luke Pulverenti212e696f7e76
diff --git a/MediaBrowser.Controller/Providers/Music/LastfmArtistProvider.cs b/MediaBrowser.Controller/Providers/Music/LastfmArtistProvider.csindex 8461b84bbf..4837b4da9b 100644--- a/MediaBrowser.Controller/Providers/Music/LastfmArtistProvider.cs+++ b/MediaBrowser.Controller/Providers/Music/LastfmArtistProvider.cs@@ -120,12 +120,7 @@ namespace MediaBrowser.Controller.Providers.Musicvar artist = searchResult.results.artistmatches.artist.FirstOrDefault(i => i.name != null && string.Compare(i.name, item.Name, CultureInfo.CurrentCulture, CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreCase | CompareOptions.IgnoreSymbols) == 0);- if (artist == null)- {- return null;- }-- return artist.mbid;+ return artist == null ? null : artist.mbid;}}}diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex d4a4fb7083..c64b86d7ce 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -475,6 +475,7 @@ namespace MediaBrowser.WebDashboard.Api"itembynamedetailpage.js","itemdetailpage.js","itemlistpage.js",+ "librarysettings.js","loginpage.js","logpage.js","medialibrarypage.js",diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 219c31b435..f02e589f29 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -270,6 +270,9 @@</Content></ItemGroup><ItemGroup>+ <Content Include="dashboard-ui\librarysettings.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\moviegenres.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -306,6 +309,9 @@<Content Include="dashboard-ui\scripts\edititemmetadata.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\librarysettings.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\musicrecommended.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>