Skip to content
This repository was archived by the owner on Sep 28, 2025. It is now read-only.
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
24 changes: 23 additions & 1 deletion StreamMaster.sln
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildClientAPI", "src\Build
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StreamMaster.PlayList", "src\StreamMaster.PlayList\StreamMaster.PlayList.csproj", "{ACC8203B-0256-4218-B089-C1145C4E959C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.EPG", "src\StreamMaster.EPG\StreamMaster.EPG.csproj", "{2E22C6A6-5B92-3910-00B2-3D7410403136}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.EPG.Matching.Fuzzy", "src\StreamMaster.EPG\StreamMaster.EPG.Matching.Fuzzy.csproj", "{2E22C6A6-5B92-3910-00B2-3D7410403136}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.Infrastructure.EF.PGSQL.Console", "src\StreamMaster.Infrastructure.EF.PGSQL.Console\StreamMaster.Infrastructure.EF.PGSQL.Console.csproj", "{ADD8EDF8-775B-468C-3BAB-2F0C4EDB1BEC}"
EndProject
Expand All @@ -58,6 +58,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.Application.Un
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.SchedulesDirect.Services.UnitTests", "src\tests\StreamMaster.SchedulesDirect.Services.UnitTests\StreamMaster.SchedulesDirect.Services.UnitTests.csproj", "{F628CC15-8508-BFB5-5849-5A29FB07FC47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.EPG.Matching.MiniLML6v2", "src\StreamMaster.EPG.Matching.MiniLML6v2\StreamMaster.EPG.Matching.MiniLML6v2.csproj", "{2948776F-73DB-4995-A20E-2DFD6BF2F507}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StreamMaster.EPG.Matching.MiniLML6v2.UnitTests", "src\tests\StreamMaster.EPG.Matching.MiniLML6v2.UnitTests\StreamMaster.EPG.Matching.MiniLML6v2.UnitTests.csproj", "{DFE0EEBA-19CB-41BA-B087-8A539595B22A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -234,6 +238,22 @@ Global
{F628CC15-8508-BFB5-5849-5A29FB07FC47}.Release|Any CPU.Build.0 = Release|Any CPU
{F628CC15-8508-BFB5-5849-5A29FB07FC47}.Release|ARM64.ActiveCfg = Release|Any CPU
{F628CC15-8508-BFB5-5849-5A29FB07FC47}.Release|ARM64.Build.0 = Release|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Debug|ARM64.Build.0 = Debug|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Release|Any CPU.Build.0 = Release|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Release|ARM64.ActiveCfg = Release|Any CPU
{2948776F-73DB-4995-A20E-2DFD6BF2F507}.Release|ARM64.Build.0 = Release|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Debug|ARM64.Build.0 = Debug|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Release|Any CPU.Build.0 = Release|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Release|ARM64.ActiveCfg = Release|Any CPU
{DFE0EEBA-19CB-41BA-B087-8A539595B22A}.Release|ARM64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -260,6 +280,8 @@ Global
{51976BE7-621E-AF33-AEEA-99EB90ECBB6F} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{9DD8BABB-CDEC-9C8F-B1A4-631FA6670CE7} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{F628CC15-8508-BFB5-5849-5A29FB07FC47} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{2948776F-73DB-4995-A20E-2DFD6BF2F507} = {A110113B-BD6D-4B5D-B0DB-DD6431463476}
{DFE0EEBA-19CB-41BA-B087-8A539595B22A} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A052E296-D42D-4EB4-8967-70DF432D997D}
Expand Down
4 changes: 3 additions & 1 deletion src/StreamMaster.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using StreamMaster.Application.Statistics.Commands;
using StreamMaster.Domain.Helpers;
using StreamMaster.EPG;
using StreamMaster.EPG.Matching.MiniLML6v2;
using StreamMaster.Infrastructure;
using StreamMaster.Infrastructure.EF;
using StreamMaster.Infrastructure.EF.PGSQL;
Expand Down Expand Up @@ -177,7 +178,8 @@ void ConfigureSettings<T>(WebApplicationBuilder builder) where T : class
}

// GetOrAdd services to the container.
builder.Services.AddEPGServices();
//builder.Services.AddFuzzyEPGMatcherServices();
builder.Services.AddMiniLML6v2EPGMatcherServices();
builder.Services.AddSchedulesDirectAPIServices();
builder.Services.AddSchedulesDirectServices();
builder.Services.AddApplicationServices();
Expand Down
1 change: 1 addition & 0 deletions src/StreamMaster.API/StreamMaster.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<PackageReference Include="System.text.regularexpressions" Version="4.3.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StreamMaster.EPG.Matching.MiniLML6v2\StreamMaster.EPG.Matching.MiniLML6v2.csproj" />
<ProjectReference Include="..\StreamMaster.Infrastructure\StreamMaster.Infrastructure.csproj" />
<ProjectReference Include="..\StreamMaster.PlayList\StreamMaster.PlayList.csproj" />
<ProjectReference Include="..\StreamMaster.SchedulesDirect.Services\StreamMaster.SchedulesDirect.Services.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using StreamMaster.Domain.Models;
using StreamMaster.Domain.XmltvXml;
using StreamMaster.Domain.XmltvXml;

namespace StreamMaster.EPG
namespace StreamMaster.Domain.EPG
{
/// <summary>
/// Represents a service that can match an SMChannel to the best possible EPG channel.
Expand Down
13 changes: 13 additions & 0 deletions src/StreamMaster.EPG.Matching.MiniLML6v2/ConfigureServices.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Microsoft.Extensions.DependencyInjection;
using StreamMaster.Domain.EPG;

namespace StreamMaster.EPG.Matching.MiniLML6v2;

public static class ConfigureServices
{
public static IServiceCollection AddMiniLML6v2EPGMatcherServices(this IServiceCollection services)
{
services.AddScoped<IEpgMatcher, MiniLML6v2EPGMatcher>();
return services;
}
}
Loading