The Free Software Media System - Server Backend & API
remote control progress
Luke Pulverenti3387dac01d71
diff --git a/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs b/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.csindex d9c97ddb10..1bca867a98 100644--- a/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs+++ b/MediaBrowser.Controller/Providers/ImageFromMediaLocationProvider.cs@@ -156,8 +156,6 @@ namespace MediaBrowser.Controller.Providers/// <param name="item">The item.</param>private void PopulateBaseItemImages(BaseItem item){- var screenshotFiles = new List<string>();-// Primary Imagevar image = GetImage(item, "folder") ??GetImage(item, "poster") ??@@ -231,6 +229,8 @@ namespace MediaBrowser.Controller.Providers// Screenshot Imageimage = GetImage(item, "screenshot");+ var screenshotFiles = new List<string>();+if (image != null){screenshotFiles.Add(image.FullName);diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.csindex 023df3177a..f4bf501e3b 100644--- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs+++ b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs@@ -308,7 +308,7 @@ namespace MediaBrowser.Server.Implementations.HttpServerRaiseReceiveWebRequest(context);- await Task.Run(() =>+ await Task.Factory.StartNew(() =>{try{@@ -318,6 +318,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer{_logger.ErrorException("ProcessRequest failure", ex);}+}).ConfigureAwait(false);}diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.csindex 6e6bb4cd0e..4f7162da7d 100644--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs@@ -549,6 +549,7 @@ namespace MediaBrowser.WebDashboard.Api"tileitem.css","search.css","pluginupdates.css",+ "remotecontrol.css","userimage.css"};diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 43ccf3926b..c87b6f8fc0 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -246,6 +246,9 @@<Content Include="dashboard-ui\css\posteritem.css"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="dashboard-ui\css\remotecontrol.css">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="dashboard-ui\css\search.css"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>