Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .gitattributes
Empty file.
66 changes: 41 additions & 25 deletions BananaSplit.sln
Original file line number Diff line number Diff line change
@@ -1,25 +1,41 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29728.190
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BananaSplit", "BananaSplit\BananaSplit.csproj", "{EC918B5D-EFE5-48EA-8F51-C05574198135}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CA107A36-4967-4BBF-81C0-682AEBB81A55}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36109.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BananaSplit", "BananaSplit\BananaSplit.csproj", "{EC918B5D-EFE5-48EA-8F51-C05574198135}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Debug|x64.ActiveCfg = Debug|x64
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Debug|x64.Build.0 = Debug|x64
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Release|Any CPU.Build.0 = Release|Any CPU
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Release|x64.ActiveCfg = Release|x64
{EC918B5D-EFE5-48EA-8F51-C05574198135}.Release|x64.Build.0 = Release|x64
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Debug|x64.ActiveCfg = Debug|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Debug|x64.Build.0 = Debug|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Release|Any CPU.Build.0 = Release|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Release|x64.ActiveCfg = Release|Any CPU
{BAD3E14B-AA4E-4853-9557-AC2C83A226E0}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CA107A36-4967-4BBF-81C0-682AEBB81A55}
EndGlobalSection
EndGlobal
15 changes: 15 additions & 0 deletions BananaSplit/AutoMapperProfile.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BananaSplit;
public class AutoMapperProfile: Profile
{
public AutoMapperProfile()
{
CreateMap<Settings, Settings>();
}
}
14 changes: 8 additions & 6 deletions BananaSplit/BananaSplit.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<Version>3.2.0</Version>
<ApplicationIcon>Iconicon-Veggies-Bananas.512.ico</ApplicationIcon>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
<None Remove="ffmpeg.exe" />
Expand All @@ -12,10 +14,10 @@
<None Remove="mkvinfo.exe" />
<None Remove="mkvmerge.exe" />
<None Remove="mkvpropedit.exe" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="WindowsAPICodePack" Version="1.1.3" />
<Content Include="Iconicon-Veggies-Bananas.512.ico" />
<PackageReference Include="AutoMapper" Version="14.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.5" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Settings.Designer.cs">
Expand Down
7 changes: 0 additions & 7 deletions BananaSplit/BlackFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,5 @@ public BlackFrame()
{
Id = Guid.NewGuid();
}

public TimeSpan GetMiddle()
{
var halfDuration = new TimeSpan(Duration.Ticks / 2);

return End.Subtract(halfDuration);
}
}
}
Loading