The Free Software Media System - Server Backend & API
added library list to editor
Luke Pulverentiaacbd70c9737
diff --git a/MediaBrowser.Providers/TV/TvdbPrescanTask.cs b/MediaBrowser.Providers/TV/TvdbPrescanTask.csindex e24b72eff4..32ed5d7f6a 100644--- a/MediaBrowser.Providers/TV/TvdbPrescanTask.cs+++ b/MediaBrowser.Providers/TV/TvdbPrescanTask.cs@@ -73,6 +73,12 @@ namespace MediaBrowser.Providers.TV/// <returns>Task.</returns>public async Task Run(IProgress<double> progress, CancellationToken cancellationToken){+ if (!_config.Configuration.EnableInternetProviders)+ {+ progress.Report(100);+ return;+ }+var seriesConfig = _config.Configuration.MetadataOptions.FirstOrDefault(i => string.Equals(i.ItemType, typeof(Series).Name, StringComparison.OrdinalIgnoreCase));if (seriesConfig != null && seriesConfig.DisabledMetadataFetchers.Contains(TvdbSeriesProvider.Current.Name, StringComparer.OrdinalIgnoreCase))diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex 61db8886c5..0e6010fd0c 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -497,6 +497,7 @@ namespace MediaBrowser.WebDashboard.Api"itemgallery.js","itemlistpage.js","librarypathmapping.js",+ "libraryreport.js","librarysettings.js","livetvchannel.js","livetvchannels.js",diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex c8e630e9d3..55f97e1dae 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -223,6 +223,9 @@<Content Include="dashboard-ui\librarypathmapping.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\libraryreport.html">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\livetvchannel.html"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>@@ -490,6 +493,9 @@<Content Include="dashboard-ui\scripts\librarypathmapping.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\scripts\libraryreport.js">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\scripts\livetvchannel.js"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>