diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-08 08:37:07 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-08 08:37:07 -0400 |
| commit | 78e96917e12abb963301957607da4a738f27df58 (patch) | |
| tree | 5d46b69b5ea4d034c778ba0339d006cbd654a461 | |
| parent | d6b2bf89f58f4bf9df6bc1c3578c0ee1cc152210 (diff) | |
move drawing code
| -rw-r--r-- | Emby.Drawing/Emby.Drawing.csproj | 17 | ||||
| -rw-r--r-- | Emby.Drawing/ImageHeader.cs (renamed from MediaBrowser.Server.Implementations/Drawing/ImageHeader.cs) | 0 | ||||
| -rw-r--r-- | Emby.Drawing/ImageProcessor.cs (renamed from MediaBrowser.Server.Implementations/Drawing/ImageProcessor.cs) | 0 | ||||
| -rw-r--r-- | Emby.Drawing/PercentPlayedDrawer.cs (renamed from MediaBrowser.Server.Implementations/Drawing/PercentPlayedDrawer.cs) | 0 | ||||
| -rw-r--r-- | Emby.Drawing/PlayedIndicatorDrawer.cs (renamed from MediaBrowser.Server.Implementations/Drawing/PlayedIndicatorDrawer.cs) | 0 | ||||
| -rw-r--r-- | Emby.Drawing/UnplayedCountIndicator.cs (renamed from MediaBrowser.Server.Implementations/Drawing/UnplayedCountIndicator.cs) | 0 | ||||
| -rw-r--r-- | Emby.Drawing/packages.config | 4 | ||||
| -rw-r--r-- | MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj | 12 | ||||
| -rw-r--r-- | MediaBrowser.Server.Implementations/packages.config | 1 | ||||
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj | 4 |
10 files changed, 24 insertions, 14 deletions
diff --git a/Emby.Drawing/Emby.Drawing.csproj b/Emby.Drawing/Emby.Drawing.csproj index 4b72fef15..7e833eeeb 100644 --- a/Emby.Drawing/Emby.Drawing.csproj +++ b/Emby.Drawing/Emby.Drawing.csproj @@ -11,6 +11,8 @@ <AssemblyName>Emby.Drawing</AssemblyName> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> + <RestorePackages>true</RestorePackages> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> @@ -30,6 +32,9 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> + <Reference Include="ImageMagickSharp"> + <HintPath>..\packages\ImageMagickSharp.1.0.0.13\lib\net45\ImageMagickSharp.dll</HintPath> + </Reference> <Reference Include="System" /> <Reference Include="System.Core" /> <Reference Include="System.Drawing" /> @@ -43,11 +48,21 @@ <Compile Include="..\SharedVersion.cs"> <Link>Properties\SharedVersion.cs</Link> </Compile> + <Compile Include="ImageHeader.cs" /> + <Compile Include="ImageProcessor.cs" /> + <Compile Include="PercentPlayedDrawer.cs" /> + <Compile Include="PlayedIndicatorDrawer.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="UnplayedCountIndicator.cs" /> </ItemGroup> <ItemGroup> <Folder Include="GDI\" /> - <Folder Include="ImageMagick\" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="ImageMagick\fonts\MontserratLight.otf" /> + <EmbeddedResource Include="ImageMagick\fonts\robotoregular.ttf" /> + <EmbeddedResource Include="ImageMagick\fonts\webdings.ttf" /> + <None Include="packages.config" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. diff --git a/MediaBrowser.Server.Implementations/Drawing/ImageHeader.cs b/Emby.Drawing/ImageHeader.cs index 7117482c8..7117482c8 100644 --- a/MediaBrowser.Server.Implementations/Drawing/ImageHeader.cs +++ b/Emby.Drawing/ImageHeader.cs diff --git a/MediaBrowser.Server.Implementations/Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs index d78d5e8ea..d78d5e8ea 100644 --- a/MediaBrowser.Server.Implementations/Drawing/ImageProcessor.cs +++ b/Emby.Drawing/ImageProcessor.cs diff --git a/MediaBrowser.Server.Implementations/Drawing/PercentPlayedDrawer.cs b/Emby.Drawing/PercentPlayedDrawer.cs index 20c2ab93b..20c2ab93b 100644 --- a/MediaBrowser.Server.Implementations/Drawing/PercentPlayedDrawer.cs +++ b/Emby.Drawing/PercentPlayedDrawer.cs diff --git a/MediaBrowser.Server.Implementations/Drawing/PlayedIndicatorDrawer.cs b/Emby.Drawing/PlayedIndicatorDrawer.cs index 359065cc2..359065cc2 100644 --- a/MediaBrowser.Server.Implementations/Drawing/PlayedIndicatorDrawer.cs +++ b/Emby.Drawing/PlayedIndicatorDrawer.cs diff --git a/MediaBrowser.Server.Implementations/Drawing/UnplayedCountIndicator.cs b/Emby.Drawing/UnplayedCountIndicator.cs index 71cced041..71cced041 100644 --- a/MediaBrowser.Server.Implementations/Drawing/UnplayedCountIndicator.cs +++ b/Emby.Drawing/UnplayedCountIndicator.cs diff --git a/Emby.Drawing/packages.config b/Emby.Drawing/packages.config new file mode 100644 index 000000000..f1efe6e1c --- /dev/null +++ b/Emby.Drawing/packages.config @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="ImageMagickSharp" version="1.0.0.13" targetFramework="net45" /> +</packages>
\ No newline at end of file diff --git a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj index 949dd903c..c09ce8663 100644 --- a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj +++ b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj @@ -45,10 +45,6 @@ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <ItemGroup> - <Reference Include="ImageMagickSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\packages\ImageMagickSharp.1.0.0.13\lib\net45\ImageMagickSharp.dll</HintPath> - </Reference> <Reference Include="MediaBrowser.Naming, Version=1.0.5509.27636, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\packages\MediaBrowser.Naming.1.0.0.32\lib\portable-net45+sl4+wp71+win8+wpa81\MediaBrowser.Naming.dll</HintPath> @@ -129,10 +125,6 @@ <Compile Include="Devices\DeviceManager.cs" /> <Compile Include="Devices\DeviceRepository.cs" /> <Compile Include="Devices\CameraUploadsFolder.cs" /> - <Compile Include="Drawing\ImageHeader.cs" /> - <Compile Include="Drawing\PercentPlayedDrawer.cs" /> - <Compile Include="Drawing\PlayedIndicatorDrawer.cs" /> - <Compile Include="Drawing\UnplayedCountIndicator.cs" /> <Compile Include="Dto\DtoService.cs" /> <Compile Include="EntryPoints\ActivityLogEntryPoint.cs" /> <Compile Include="EntryPoints\AutomaticRestartEntryPoint.cs" /> @@ -174,7 +166,6 @@ <Compile Include="HttpServer\SocketSharp\SharpWebSocket.cs" /> <Compile Include="HttpServer\StreamWriter.cs" /> <Compile Include="HttpServer\SwaggerService.cs" /> - <Compile Include="Drawing\ImageProcessor.cs" /> <Compile Include="HttpServer\SocketSharp\Extensions.cs" /> <Compile Include="HttpServer\SocketSharp\RequestMono.cs" /> <Compile Include="HttpServer\SocketSharp\WebSocketSharpListener.cs" /> @@ -431,9 +422,6 @@ <EmbeddedResource Include="Localization\JavaScript\uk.json" /> <EmbeddedResource Include="Localization\Server\bg_BG.json" /> <EmbeddedResource Include="Localization\Server\uk.json" /> - <EmbeddedResource Include="Drawing\fonts\webdings.ttf" /> - <EmbeddedResource Include="Drawing\fonts\robotoregular.ttf" /> - <EmbeddedResource Include="Drawing\fonts\MontserratLight.otf" /> <None Include="Localization\JavaScript\sl_SI.json" /> <EmbeddedResource Include="Localization\Server\sl_SI.json" /> <None Include="packages.config" /> diff --git a/MediaBrowser.Server.Implementations/packages.config b/MediaBrowser.Server.Implementations/packages.config index c7e4684d1..c4806bb1b 100644 --- a/MediaBrowser.Server.Implementations/packages.config +++ b/MediaBrowser.Server.Implementations/packages.config @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="ImageMagickSharp" version="1.0.0.13" targetFramework="net45" />
<package id="MediaBrowser.Naming" version="1.0.0.32" targetFramework="net45" />
<package id="Mono.Nat" version="1.2.23.0" targetFramework="net45" />
<package id="morelinq" version="1.1.0" targetFramework="net45" />
diff --git a/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj b/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj index 38e07fde4..fb49692b5 100644 --- a/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj +++ b/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj @@ -76,6 +76,10 @@ <Compile Include="UnhandledExceptionWriter.cs" /> </ItemGroup> <ItemGroup> + <ProjectReference Include="..\Emby.Drawing\Emby.Drawing.csproj"> + <Project>{08fff49b-f175-4807-a2b5-73b0ebd9f716}</Project> + <Name>Emby.Drawing</Name> + </ProjectReference> <ProjectReference Include="..\MediaBrowser.Api\MediaBrowser.Api.csproj"> <Project>{4fd51ac5-2c16-4308-a993-c3a84f3b4582}</Project> <Name>MediaBrowser.Api</Name> |
