update mac project

This commit is contained in:
Luke 2017-04-27 16:43:52 -04:00
parent 0f07d97031
commit fd99329a00
2 changed files with 5 additions and 12 deletions

View File

@ -2345,9 +2345,6 @@
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\moviesrecommended.js">
<Link>Resources\dashboard-ui\scripts\moviesrecommended.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\moviestudios.js">
<Link>Resources\dashboard-ui\scripts\moviestudios.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\movietrailers.js">
<Link>Resources\dashboard-ui\scripts\movietrailers.js</Link>
</BundleResource>
@ -2357,12 +2354,12 @@
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\musicartists.js">
<Link>Resources\dashboard-ui\scripts\musicartists.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\musicfolders.js">
<Link>Resources\dashboard-ui\scripts\musicfolders.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\musicgenres.js">
<Link>Resources\dashboard-ui\scripts\musicgenres.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\musicplaylists.js">
<Link>Resources\dashboard-ui\scripts\musicplaylists.js</Link>
</BundleResource>
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\scripts\musicrecommended.js">
<Link>Resources\dashboard-ui\scripts\musicrecommended.js</Link>
</BundleResource>

View File

@ -32,6 +32,7 @@ using Mono.Unix.Native;
using MediaBrowser.Model.System;
using MediaBrowser.Model.IO;
using Emby.Server.Core.Logging;
using Emby.Drawing.Net;
namespace MediaBrowser.Server.Mac
{
@ -111,12 +112,7 @@ namespace MediaBrowser.Server.Mac
_fileSystem = fileSystem;
var imageEncoder = ImageEncoderHelper.GetImageEncoder(_logger,
logManager,
fileSystem,
options,
() => AppHost.HttpClient,
appPaths);
var imageEncoder = new GDIImageEncoder(fileSystem, logManager.GetLogger("GDI"));
AppHost = new MacAppHost(appPaths,
logManager,