The Free Software Media System - Server Backend & API
Move LiveTv to separate project
Patrick Barronc1a3084312fa
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex f385f6a512..bb565fb2ba 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -25,7 +25,6 @@ using Emby.Server.Implementations.Dto;using Emby.Server.Implementations.HttpServer.Security;using Emby.Server.Implementations.IO;using Emby.Server.Implementations.Library;-using Emby.Server.Implementations.LiveTv;using Emby.Server.Implementations.Localization;using Emby.Server.Implementations.Playlists;using Emby.Server.Implementations.Plugins;@@ -567,9 +566,6 @@ namespace Emby.Server.ImplementationsserviceCollection.AddSingleton<ISyncPlayManager, SyncPlayManager>();- serviceCollection.AddSingleton<LiveTvDtoService>();- serviceCollection.AddSingleton<ILiveTvManager, LiveTvManager>();-serviceCollection.AddSingleton<IUserViewManager, UserViewManager>();serviceCollection.AddSingleton<IChapterManager, ChapterManager>();diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csprojindex b3344bb9ff..34276355a7 100644--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj@@ -22,7 +22,6 @@<ItemGroup><PackageReference Include="DiscUtils.Udf" />- <PackageReference Include="Jellyfin.XmlTv" /><PackageReference Include="Microsoft.Data.Sqlite" /><PackageReference Include="Microsoft.Extensions.DependencyInjection" /><PackageReference Include="Microsoft.Extensions.Caching.Memory" />diff --git a/Emby.Server.Implementations/Properties/AssemblyInfo.cs b/Emby.Server.Implementations/Properties/AssemblyInfo.csindex fb7377b1df..41c396ac1d 100644--- a/Emby.Server.Implementations/Properties/AssemblyInfo.cs+++ b/Emby.Server.Implementations/Properties/AssemblyInfo.cs@@ -17,7 +17,6 @@ using System.Runtime.InteropServices;[assembly: NeutralResourcesLanguage("en")][assembly: InternalsVisibleTo("Jellyfin.Server.Implementations.Tests")][assembly: InternalsVisibleTo("Emby.Server.Implementations.Fuzz")]-[assembly: InternalsVisibleTo("Jellyfin.LiveTv.Tests")]// Setting ComVisible to false makes the types in this assembly not visible// to COM components. If you need to access a type in this assembly fromdiff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.csindex 93277a981e..b1ac51f998 100644--- a/Jellyfin.Server/CoreAppHost.cs+++ b/Jellyfin.Server/CoreAppHost.cs@@ -6,6 +6,7 @@ using Emby.Server.Implementations.Session;using Jellyfin.Api.WebSocketListeners;using Jellyfin.Drawing;using Jellyfin.Drawing.Skia;+using Jellyfin.LiveTv;using Jellyfin.Server.Implementations;using Jellyfin.Server.Implementations.Activity;using Jellyfin.Server.Implementations.Devices;@@ -20,6 +21,7 @@ using MediaBrowser.Controller.Devices;using MediaBrowser.Controller.Drawing;using MediaBrowser.Controller.Events;using MediaBrowser.Controller.Library;+using MediaBrowser.Controller.LiveTv;using MediaBrowser.Controller.Lyrics;using MediaBrowser.Controller.Net;using MediaBrowser.Controller.Security;@@ -96,6 +98,9 @@ namespace Jellyfin.ServerserviceCollection.AddScoped<IAuthenticationManager, AuthenticationManager>();+ serviceCollection.AddSingleton<LiveTvDtoService>();+ serviceCollection.AddSingleton<ILiveTvManager, LiveTvManager>();+foreach (var type in GetExportTypes<ILyricProvider>()){serviceCollection.AddSingleton(typeof(ILyricProvider), type);@@ -117,6 +122,9 @@ namespace Jellyfin.Server// Jellyfin.Server.Implementationsyield return typeof(JellyfinDbContext).Assembly;++ // Jellyfin.LiveTv+ yield return typeof(LiveTvManager).Assembly;}}}diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csprojindex 1d4d97551e..21c6e6f01d 100644--- a/Jellyfin.Server/Jellyfin.Server.csproj+++ b/Jellyfin.Server/Jellyfin.Server.csproj@@ -58,6 +58,7 @@<ProjectReference Include="..\src\Jellyfin.Drawing\Jellyfin.Drawing.csproj" /><ProjectReference Include="..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" /><ProjectReference Include="..\src\Jellyfin.Drawing.Skia\Jellyfin.Drawing.Skia.csproj" />+ <ProjectReference Include="..\src\Jellyfin.LiveTv\Jellyfin.LiveTv.csproj" /><ProjectReference Include="..\Jellyfin.Server.Implementations\Jellyfin.Server.Implementations.csproj" /><ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" /></ItemGroup>diff --git a/Jellyfin.sln b/Jellyfin.slnindex 31e302d944..30eab6cc21 100644--- a/Jellyfin.sln+++ b/Jellyfin.sln@@ -89,6 +89,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.MediaEncoding.KeyfEndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.LiveTv.Tests", "tests\Jellyfin.LiveTv.Tests\Jellyfin.LiveTv.Tests.csproj", "{C4F71272-C6BE-4C30-BE0D-4E6ED651D6D3}"EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.LiveTv", "src\Jellyfin.LiveTv\Jellyfin.LiveTv.csproj", "{8C6B2B13-58A4-4506-9DAB-1F882A093FE0}"+EndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolutionDebug|Any CPU = Debug|Any CPU@@ -239,6 +241,10 @@ Global{C4F71272-C6BE-4C30-BE0D-4E6ED651D6D3}.Debug|Any CPU.Build.0 = Debug|Any CPU{C4F71272-C6BE-4C30-BE0D-4E6ED651D6D3}.Release|Any CPU.ActiveCfg = Release|Any CPU{C4F71272-C6BE-4C30-BE0D-4E6ED651D6D3}.Release|Any CPU.Build.0 = Release|Any CPU+ {8C6B2B13-58A4-4506-9DAB-1F882A093FE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {8C6B2B13-58A4-4506-9DAB-1F882A093FE0}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {8C6B2B13-58A4-4506-9DAB-1F882A093FE0}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {8C6B2B13-58A4-4506-9DAB-1F882A093FE0}.Release|Any CPU.Build.0 = Release|Any CPUEndGlobalSectionGlobalSection(SolutionProperties) = preSolutionHideSolutionNode = FALSE@@ -266,6 +272,7 @@ Global{154872D9-6C12-4007-96E3-8F70A58386CE} = {C9F0AB5D-F4D7-40C8-A353-3305C86D6D4C}{0A3FCC4D-C714-4072-B90F-E374A15F9FF9} = {C9F0AB5D-F4D7-40C8-A353-3305C86D6D4C}{C4F71272-C6BE-4C30-BE0D-4E6ED651D6D3} = {FBBB5129-006E-4AD7-BAD5-8B7CA1D10ED6}+ {8C6B2B13-58A4-4506-9DAB-1F882A093FE0} = {C9F0AB5D-F4D7-40C8-A353-3305C86D6D4C}EndGlobalSectionGlobalSection(ExtensibilityGlobals) = postSolutionSolutionGuid = {3448830C-EBDC-426C-85CD-7BBB9651A7FE}diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs b/src/Jellyfin.LiveTv/EmbyTV/DirectRecorder.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.csrename to src/Jellyfin.LiveTv/EmbyTV/DirectRecorder.csindex 7df66d3585..2a25218b63 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/DirectRecorder.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/DirectRecorder.cs@@ -5,7 +5,6 @@ using System.IO;using System.Net.Http;using System.Threading;using System.Threading.Tasks;-using Jellyfin.Api.Helpers;using MediaBrowser.Common.Net;using MediaBrowser.Controller.Library;using MediaBrowser.Controller.Streaming;@@ -13,7 +12,7 @@ using MediaBrowser.Model.Dto;using MediaBrowser.Model.IO;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public sealed class DirectRecorder : IRecorder{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/src/Jellyfin.LiveTv/EmbyTV/EmbyTV.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.csrename to src/Jellyfin.LiveTv/EmbyTV/EmbyTV.csindex e2e0dfb2bb..439ed965b0 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/EmbyTV.cs@@ -14,14 +14,12 @@ using System.Text;using System.Threading;using System.Threading.Tasks;using System.Xml;-using Emby.Server.Implementations.Library;using Jellyfin.Data.Enums;using Jellyfin.Data.Events;using Jellyfin.Extensions;using MediaBrowser.Common.Configuration;using MediaBrowser.Common.Extensions;using MediaBrowser.Common.Progress;-using MediaBrowser.Controller;using MediaBrowser.Controller.Configuration;using MediaBrowser.Controller.Dto;using MediaBrowser.Controller.Entities;@@ -39,7 +37,7 @@ using MediaBrowser.Model.MediaInfo;using MediaBrowser.Model.Providers;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public sealed class EmbyTV : ILiveTvService, ISupportsDirectStreamProvider, ISupportsNewTimerIds, IDisposable{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs b/src/Jellyfin.LiveTv/EmbyTV/EncodedRecorder.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.csrename to src/Jellyfin.LiveTv/EmbyTV/EncodedRecorder.csindex 9a9fd02739..132a5fc516 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/EncodedRecorder.cs@@ -23,7 +23,7 @@ using MediaBrowser.Model.Dto;using MediaBrowser.Model.IO;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public class EncodedRecorder : IRecorder{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs b/src/Jellyfin.LiveTv/EmbyTV/EntryPoint.cssimilarity index 87%rename from Emby.Server.Implementations/LiveTv/EmbyTV/EntryPoint.csrename to src/Jellyfin.LiveTv/EmbyTV/EntryPoint.csindex a2ec2df375..e750c05ac8 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/EntryPoint.cs@@ -3,7 +3,7 @@using System.Threading.Tasks;using MediaBrowser.Controller.Plugins;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public sealed class EntryPoint : IServerEntryPoint{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EpgChannelData.cs b/src/Jellyfin.LiveTv/EmbyTV/EpgChannelData.cssimilarity index 97%rename from Emby.Server.Implementations/LiveTv/EmbyTV/EpgChannelData.csrename to src/Jellyfin.LiveTv/EmbyTV/EpgChannelData.csindex 20a8213a77..43d308c434 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EpgChannelData.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/EpgChannelData.cs@@ -4,7 +4,7 @@ using System;using System.Collections.Generic;using MediaBrowser.Controller.LiveTv;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{internal class EpgChannelData{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/IRecorder.cs b/src/Jellyfin.LiveTv/EmbyTV/IRecorder.cssimilarity index 95%rename from Emby.Server.Implementations/LiveTv/EmbyTV/IRecorder.csrename to src/Jellyfin.LiveTv/EmbyTV/IRecorder.csindex de14d6d086..7ed42e2634 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/IRecorder.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/IRecorder.cs@@ -6,7 +6,7 @@ using System.Threading.Tasks;using MediaBrowser.Controller.Library;using MediaBrowser.Model.Dto;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public interface IRecorder : IDisposable{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/ItemDataProvider.cs b/src/Jellyfin.LiveTv/EmbyTV/ItemDataProvider.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/EmbyTV/ItemDataProvider.csrename to src/Jellyfin.LiveTv/EmbyTV/ItemDataProvider.csindex d5a6feb470..547ffeb668 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/ItemDataProvider.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/ItemDataProvider.cs@@ -9,7 +9,7 @@ using System.Text.Json;using Jellyfin.Extensions.Json;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public class ItemDataProvider<T>where T : classdiff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/NfoConfigurationExtensions.cs b/src/Jellyfin.LiveTv/EmbyTV/NfoConfigurationExtensions.cssimilarity index 92%rename from Emby.Server.Implementations/LiveTv/EmbyTV/NfoConfigurationExtensions.csrename to src/Jellyfin.LiveTv/EmbyTV/NfoConfigurationExtensions.csindex 83f5e84131..e8570f0e0d 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/NfoConfigurationExtensions.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/NfoConfigurationExtensions.cs@@ -1,7 +1,7 @@using MediaBrowser.Common.Configuration;using MediaBrowser.Model.Configuration;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{/// <summary>/// Class containing extension methods for working with the nfo configuration.diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/RecordingHelper.cs b/src/Jellyfin.LiveTv/EmbyTV/RecordingHelper.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/EmbyTV/RecordingHelper.csrename to src/Jellyfin.LiveTv/EmbyTV/RecordingHelper.csindex 7bbeae866a..6bda231b24 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/RecordingHelper.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/RecordingHelper.cs@@ -5,7 +5,7 @@ using System.Globalization;using System.Text;using MediaBrowser.Controller.LiveTv;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{internal static class RecordingHelper{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/SeriesTimerManager.cs b/src/Jellyfin.LiveTv/EmbyTV/SeriesTimerManager.cssimilarity index 92%rename from Emby.Server.Implementations/LiveTv/EmbyTV/SeriesTimerManager.csrename to src/Jellyfin.LiveTv/EmbyTV/SeriesTimerManager.csindex bf28f3b67d..2ebe60b296 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/SeriesTimerManager.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/SeriesTimerManager.cs@@ -4,7 +4,7 @@ using System;using MediaBrowser.Controller.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public class SeriesTimerManager : ItemDataProvider<SeriesTimerInfo>{diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/TimerManager.cs b/src/Jellyfin.LiveTv/EmbyTV/TimerManager.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/EmbyTV/TimerManager.csrename to src/Jellyfin.LiveTv/EmbyTV/TimerManager.csindex 9f8441fa48..37b1fa14cc 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/TimerManager.cs+++ b/src/Jellyfin.LiveTv/EmbyTV/TimerManager.cs@@ -10,7 +10,7 @@ using MediaBrowser.Controller.LiveTv;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.EmbyTV+namespace Jellyfin.LiveTv.EmbyTV{public class TimerManager : ItemDataProvider<TimerInfo>{diff --git a/Emby.Server.Implementations/Library/ExclusiveLiveStream.cs b/src/Jellyfin.LiveTv/ExclusiveLiveStream.cssimilarity index 96%rename from Emby.Server.Implementations/Library/ExclusiveLiveStream.csrename to src/Jellyfin.LiveTv/ExclusiveLiveStream.csindex b1649afad5..9d442e20cc 100644--- a/Emby.Server.Implementations/Library/ExclusiveLiveStream.cs+++ b/src/Jellyfin.LiveTv/ExclusiveLiveStream.cs@@ -1,5 +1,6 @@#nullable disable+#pragma warning disable CA1711#pragma warning disable CS1591using System;@@ -10,7 +11,7 @@ using System.Threading.Tasks;using MediaBrowser.Controller.Library;using MediaBrowser.Model.Dto;-namespace Emby.Server.Implementations.Library+namespace Jellyfin.LiveTv{public sealed class ExclusiveLiveStream : ILiveStream{diff --git a/src/Jellyfin.LiveTv/Jellyfin.LiveTv.csproj b/src/Jellyfin.LiveTv/Jellyfin.LiveTv.csprojnew file mode 100644index 0000000000..3910064499--- /dev/null+++ b/src/Jellyfin.LiveTv/Jellyfin.LiveTv.csproj@@ -0,0 +1,22 @@+<Project Sdk="Microsoft.NET.Sdk">+ <PropertyGroup>+ <TargetFramework>net8.0</TargetFramework>+ <GenerateDocumentationFile>true</GenerateDocumentationFile>+ </PropertyGroup>++ <ItemGroup>+ <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">+ <_Parameter1>Jellyfin.LiveTv.Tests</_Parameter1>+ </AssemblyAttribute>+ </ItemGroup>++ <ItemGroup>+ <PackageReference Include="Jellyfin.XmlTv" />+ </ItemGroup>++ <ItemGroup>+ <ProjectReference Include="..\..\MediaBrowser.Model\MediaBrowser.Model.csproj" />+ <ProjectReference Include="..\..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />+ <ProjectReference Include="..\..\MediaBrowser.Common\MediaBrowser.Common.csproj" />+ </ItemGroup>+</Project>diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirect.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirect.csindex 5be3a7488a..3b20cd160b 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirect.cs@@ -16,9 +16,9 @@ using System.Text;using System.Text.Json;using System.Threading;using System.Threading.Tasks;-using Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos;using Jellyfin.Extensions;using Jellyfin.Extensions.Json;+using Jellyfin.LiveTv.Listings.SchedulesDirectDtos;using MediaBrowser.Common.Net;using MediaBrowser.Controller.Authentication;using MediaBrowser.Controller.LiveTv;@@ -27,7 +27,7 @@ using MediaBrowser.Model.Entities;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.Listings+namespace Jellyfin.LiveTv.Listings{public class SchedulesDirect : IListingsProvider, IDisposable{@@ -613,6 +613,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings// Response is automatically disposed in the calling function,// so dispose manually if not returning.+#pragma warning disable IDISP016, IDISP017response.Dispose();if (!enableRetry || (int)response.StatusCode >= 500){@@ -621,6 +622,7 @@ namespace Emby.Server.Implementations.LiveTv.Listingsnull,response.StatusCode);}+#pragma warning restore IDISP016, IDISP017_tokens.Clear();options.Headers.TryAddWithoutValidation("token", await GetToken(providerInfo, cancellationToken).ConfigureAwait(false));diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/BroadcasterDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/BroadcasterDto.cssimilarity index 91%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/BroadcasterDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/BroadcasterDto.csindex 95ac996e01..c1a502fd5a 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/BroadcasterDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/BroadcasterDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Broadcaster dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CaptionDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CaptionDto.cssimilarity index 86%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CaptionDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CaptionDto.csindex f6251b9ad8..0cc39f3bb5 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CaptionDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CaptionDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Caption dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CastDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CastDto.cssimilarity index 93%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CastDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CastDto.csindex 0b7a2c63ad..bdcf87fdac 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CastDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CastDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Cast dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ChannelDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ChannelDto.cssimilarity index 91%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ChannelDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ChannelDto.csindex 87c327ed82..4e0d740785 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ChannelDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ChannelDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Channel dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ContentRatingDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ContentRatingDto.cssimilarity index 86%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ContentRatingDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ContentRatingDto.csindex c19cd2e48d..5c624c2885 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ContentRatingDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ContentRatingDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Content rating dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CrewDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CrewDto.cssimilarity index 92%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CrewDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CrewDto.csindex f00c9accdd..6d3c79c185 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/CrewDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/CrewDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Crew dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/DayDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/DayDto.cssimilarity index 91%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/DayDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/DayDto.csindex 1a371965cf..094f9a3194 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/DayDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/DayDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Day dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/Description1000Dto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/Description1000Dto.cssimilarity index 87%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/Description1000Dto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/Description1000Dto.csindex ca6ae7fb13..0063f4cc34 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/Description1000Dto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/Description1000Dto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Description 1_000 dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/Description100Dto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/Description100Dto.cssimilarity index 87%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/Description100Dto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/Description100Dto.csindex 1577219ed2..1d9a18cc7f 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/Description100Dto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/Description100Dto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Description 100 dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/DescriptionsProgramDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/DescriptionsProgramDto.cssimilarity index 90%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/DescriptionsProgramDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/DescriptionsProgramDto.csindex eaf4a340bd..75e91547bb 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/DescriptionsProgramDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/DescriptionsProgramDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Descriptions program dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/EventDetailsDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/EventDetailsDto.cssimilarity index 81%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/EventDetailsDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/EventDetailsDto.csindex fbdfb1f716..28abe094ed 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/EventDetailsDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/EventDetailsDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Event details dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/GracenoteDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/GracenoteDto.cssimilarity index 86%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/GracenoteDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/GracenoteDto.csindex 6852d89d71..6eefc1744b 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/GracenoteDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/GracenoteDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Gracenote dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/HeadendsDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/HeadendsDto.cssimilarity index 92%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/HeadendsDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/HeadendsDto.csindex b9844562f3..a62ae61f91 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/HeadendsDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/HeadendsDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Headends dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ImageDataDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ImageDataDto.cssimilarity index 95%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ImageDataDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ImageDataDto.csindex a1ae3ca6d4..21b595f244 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ImageDataDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ImageDataDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Image data dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LineupDto.cssimilarity index 94%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LineupDto.csindex 3dc64e5d8a..856b7a89b0 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LineupDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// The lineup dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupsDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LineupsDto.cssimilarity index 92%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupsDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LineupsDto.csindex f190817813..99f80ce8a1 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LineupsDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LineupsDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Lineups dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LogoDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LogoDto.cssimilarity index 91%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LogoDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LogoDto.csindex fecc55e037..d7836384e2 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/LogoDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/LogoDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Logo dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MapDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MapDto.cssimilarity index 95%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MapDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MapDto.csindex ffd02d474b..ea583a1cea 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MapDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MapDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Map dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataDto.cssimilarity index 89%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataDto.csindex 40faa493c5..cafc8e2738 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Metadata dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataProgramsDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataProgramsDto.cssimilarity index 82%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataProgramsDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataProgramsDto.csindex 43f2901566..243ccff5c0 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataProgramsDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataProgramsDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Metadata programs dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.cssimilarity index 93%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.csindex 04560ab55d..1c5c5333ce 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.cs@@ -1,7 +1,7 @@using System;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Metadata schedule dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MovieDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MovieDto.cssimilarity index 91%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MovieDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MovieDto.csindex 31bef423b2..aea7408336 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MovieDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MovieDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Movie dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MultipartDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MultipartDto.cssimilarity index 86%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MultipartDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MultipartDto.csindex e8b15dc07c..328cefadc3 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MultipartDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/MultipartDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Multipart dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.csindex 84c48f67f3..8c3906f863 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDetailsDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Program details dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ProgramDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDto.cssimilarity index 97%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ProgramDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDto.csindex 60389b45bf..527a6f8a19 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ProgramDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ProgramDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Program dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/QualityRatingDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/QualityRatingDto.cssimilarity index 93%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/QualityRatingDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/QualityRatingDto.csindex c5ddcf7c51..61496155ac 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/QualityRatingDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/QualityRatingDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Quality rating dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RatingDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RatingDto.cssimilarity index 85%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RatingDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RatingDto.csindex e04b619a4d..287cd4ed5c 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RatingDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RatingDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Rating dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RecommendationDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RecommendationDto.cssimilarity index 86%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RecommendationDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RecommendationDto.csindex c8f79fd1c2..d380ec7aee 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RecommendationDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RecommendationDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Recommendation dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.cssimilarity index 89%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.csindex 0cd05709b3..6fc695a393 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/RequestScheduleForChannelDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Request schedule for channel dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cssimilarity index 88%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.csindex 84e224b71e..523900a96a 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Show image dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/StationDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/StationDto.cssimilarity index 96%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/StationDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/StationDto.csindex d797fd49b1..dbde1e117d 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/StationDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/StationDto.cs@@ -2,7 +2,7 @@ using System;using System.Collections.Generic;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Station dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/TitleDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/TitleDto.cssimilarity index 80%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/TitleDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/TitleDto.csindex 61cd4a9b00..146124f987 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/TitleDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/TitleDto.cs@@ -1,6 +1,6 @@using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// Title dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/TokenDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/TokenDto.cssimilarity index 94%rename from Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/TokenDto.csrename to src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/TokenDto.csindex afb9994869..b3bc618376 100644--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/TokenDto.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/TokenDto.cs@@ -1,7 +1,7 @@using System;using System.Text.Json.Serialization;-namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos+namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos{/// <summary>/// The token dto.diff --git a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.csrename to src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.csindex e60e9dcc1c..cecc363f07 100644--- a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs+++ b/src/Jellyfin.LiveTv/Listings/XmlTvListingsProvider.cs@@ -23,7 +23,7 @@ using MediaBrowser.Model.IO;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.Listings+namespace Jellyfin.LiveTv.Listings{public class XmlTvListingsProvider : IListingsProvider{diff --git a/Emby.Server.Implementations/LiveTv/LiveTvConfigurationFactory.cs b/src/Jellyfin.LiveTv/LiveTvConfigurationFactory.cssimilarity index 93%rename from Emby.Server.Implementations/LiveTv/LiveTvConfigurationFactory.csrename to src/Jellyfin.LiveTv/LiveTvConfigurationFactory.csindex 098f193fba..ddbf6345c5 100644--- a/Emby.Server.Implementations/LiveTv/LiveTvConfigurationFactory.cs+++ b/src/Jellyfin.LiveTv/LiveTvConfigurationFactory.cs@@ -2,7 +2,7 @@ using System.Collections.Generic;using MediaBrowser.Common.Configuration;using MediaBrowser.Model.LiveTv;-namespace Emby.Server.Implementations.LiveTv+namespace Jellyfin.LiveTv{/// <summary>/// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.diff --git a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs b/src/Jellyfin.LiveTv/LiveTvDtoService.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/LiveTvDtoService.csrename to src/Jellyfin.LiveTv/LiveTvDtoService.csindex 9326fbd5c7..7c7c26eb4a 100644--- a/Emby.Server.Implementations/LiveTv/LiveTvDtoService.cs+++ b/src/Jellyfin.LiveTv/LiveTvDtoService.cs@@ -20,7 +20,7 @@ using MediaBrowser.Model.Entities;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv+namespace Jellyfin.LiveTv{public class LiveTvDtoService{diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/src/Jellyfin.LiveTv/LiveTvManager.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/LiveTvManager.csrename to src/Jellyfin.LiveTv/LiveTvManager.csindex 426165de61..4fc9956538 100644--- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs+++ b/src/Jellyfin.LiveTv/LiveTvManager.cs@@ -9,7 +9,6 @@ using System.Linq;using System.Text.Json;using System.Threading;using System.Threading.Tasks;-using Emby.Server.Implementations.Library;using Jellyfin.Data.Entities;using Jellyfin.Data.Enums;using Jellyfin.Data.Events;@@ -34,7 +33,7 @@ using MediaBrowser.Model.Querying;using MediaBrowser.Model.Tasks;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv+namespace Jellyfin.LiveTv{/// <summary>/// Class LiveTvManager.@@ -231,7 +230,9 @@ namespace Emby.Server.Implementations.LiveTv_logger.LogInformation("Opening channel stream from {0}, external channel Id: {1}", service.Name, channel.ExternalId);MediaSourceInfo info;+#pragma warning disable CA1859 // TODO: Analyzer bug?ILiveStream liveStream;+#pragma warning restore CA1859if (service is ISupportsDirectStreamProvider supportsManagedStream){liveStream = await supportsManagedStream.GetChannelStreamWithDirectStreamProvider(channel.ExternalId, mediaSourceId, currentLiveStreams, cancellationToken).ConfigureAwait(false);diff --git a/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs b/src/Jellyfin.LiveTv/LiveTvMediaSourceProvider.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.csrename to src/Jellyfin.LiveTv/LiveTvMediaSourceProvider.csindex a5a1a4a4c5..ce9361089c 100644--- a/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs+++ b/src/Jellyfin.LiveTv/LiveTvMediaSourceProvider.cs@@ -16,7 +16,7 @@ using MediaBrowser.Model.Dto;using MediaBrowser.Model.MediaInfo;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv+namespace Jellyfin.LiveTv{public class LiveTvMediaSourceProvider : IMediaSourceProvider{diff --git a/Emby.Server.Implementations/LiveTv/RefreshGuideScheduledTask.cs b/src/Jellyfin.LiveTv/RefreshGuideScheduledTask.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/RefreshGuideScheduledTask.csrename to src/Jellyfin.LiveTv/RefreshGuideScheduledTask.csindex 72bbdd14a6..e58296a70a 100644--- a/Emby.Server.Implementations/LiveTv/RefreshGuideScheduledTask.cs+++ b/src/Jellyfin.LiveTv/RefreshGuideScheduledTask.cs@@ -7,7 +7,7 @@ using MediaBrowser.Controller.LiveTv;using MediaBrowser.Model.LiveTv;using MediaBrowser.Model.Tasks;-namespace Emby.Server.Implementations.LiveTv+namespace Jellyfin.LiveTv{/// <summary>/// The "Refresh Guide" scheduled task.diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs b/src/Jellyfin.LiveTv/TunerHosts/BaseTunerHost.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.csrename to src/Jellyfin.LiveTv/TunerHosts/BaseTunerHost.csindex da597056a4..769f196bdf 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/BaseTunerHost.cs@@ -19,7 +19,7 @@ using MediaBrowser.Model.IO;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.TunerHosts+namespace Jellyfin.LiveTv.TunerHosts{public abstract class BaseTunerHost{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/Channels.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/Channels.cssimilarity index 86%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/Channels.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/Channels.csindex 0f04531896..311a71d137 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/Channels.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/Channels.cs@@ -1,6 +1,6 @@#nullable disable-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{internal class Channels{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cssimilarity index 92%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/DiscoverResponse.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.csindex 39b3571422..3ece181f25 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs@@ -2,7 +2,7 @@using System;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{internal class DiscoverResponse{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunChannelCommands.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunChannelCommands.cssimilarity index 93%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunChannelCommands.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunChannelCommands.csindex aae33503fa..50a887826a 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunChannelCommands.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunChannelCommands.cs@@ -3,7 +3,7 @@using System;using System.Collections.Generic;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{public class HdHomerunChannelCommands : IHdHomerunChannelCommands{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunHost.csindex 79e15a82e2..b1b08e992b 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs@@ -30,7 +30,7 @@ using MediaBrowser.Model.MediaInfo;using MediaBrowser.Model.Net;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{public class HdHomerunHost : BaseTunerHost, ITunerHost, IConfigurableTunerHost{@@ -143,7 +143,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerunif (!throwAllExceptions && ex.StatusCode.HasValue && ex.StatusCode.Value == HttpStatusCode.NotFound){const string DefaultValue = "HDHR";- var response = new DiscoverResponse+ var discoverResponse = new DiscoverResponse{ModelNumber = DefaultValue};@@ -152,11 +152,11 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun// HDHR4 doesn't have this apilock (_modelCache){- _modelCache[cacheKey] = response;+ _modelCache[cacheKey] = discoverResponse;}}- return response;+ return discoverResponse;}throw;diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunManager.csindex 68383a5547..8613387270 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs@@ -14,7 +14,7 @@ using System.Threading.Tasks;using MediaBrowser.Common;using MediaBrowser.Controller.LiveTv;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{public sealed class HdHomerunManager : IDisposable{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.csindex 6195c7648f..6c8cde62c9 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cs@@ -1,5 +1,6 @@#nullable disable+#pragma warning disable CA1711#pragma warning disable CS1591using System;@@ -19,7 +20,7 @@ using MediaBrowser.Model.LiveTv;using MediaBrowser.Model.MediaInfo;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{public class HdHomerunUdpStream : LiveStream, IDirectStreamProvider{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/IHdHomerunChannelCommands.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/IHdHomerunChannelCommands.cssimilarity index 75%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/IHdHomerunChannelCommands.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/IHdHomerunChannelCommands.csindex 11bd40ab10..9fcf386f9c 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/IHdHomerunChannelCommands.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/IHdHomerunChannelCommands.cs@@ -2,7 +2,7 @@using System.Collections.Generic;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{public interface IHdHomerunChannelCommands{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/LegacyHdHomerunChannelCommands.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/LegacyHdHomerunChannelCommands.cssimilarity index 94%rename from Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/LegacyHdHomerunChannelCommands.csrename to src/Jellyfin.LiveTv/TunerHosts/HdHomerun/LegacyHdHomerunChannelCommands.csindex 654474e971..6dc9c885f6 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/LegacyHdHomerunChannelCommands.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/LegacyHdHomerunChannelCommands.cs@@ -3,7 +3,7 @@using System.Collections.Generic;using System.Text.RegularExpressions;-namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun+namespace Jellyfin.LiveTv.TunerHosts.HdHomerun{public partial class LegacyHdHomerunChannelCommands : IHdHomerunChannelCommands{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs b/src/Jellyfin.LiveTv/TunerHosts/LiveStream.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.csrename to src/Jellyfin.LiveTv/TunerHosts/LiveStream.csindex c18594a29b..70d8afc5d0 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/LiveStream.cs@@ -1,5 +1,6 @@#nullable disable+#pragma warning disable CA1711#pragma warning disable CS1591using System;@@ -14,7 +15,7 @@ using MediaBrowser.Model.IO;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.TunerHosts+namespace Jellyfin.LiveTv.TunerHosts{public class LiveStream : ILiveStream{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs b/src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.csrename to src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.csindex 11bf03b182..7235e65b64 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs@@ -24,7 +24,7 @@ using MediaBrowser.Model.MediaInfo;using Microsoft.Extensions.Logging;using Microsoft.Net.Http.Headers;-namespace Emby.Server.Implementations.LiveTv.TunerHosts+namespace Jellyfin.LiveTv.TunerHosts{public class M3UTunerHost : BaseTunerHost, ITunerHost, IConfigurableTunerHost{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/src/Jellyfin.LiveTv/TunerHosts/M3uParser.cssimilarity index 99%rename from Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.csrename to src/Jellyfin.LiveTv/TunerHosts/M3uParser.csindex 0b5575b994..5900d1c5be 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/M3uParser.cs@@ -18,7 +18,7 @@ using MediaBrowser.Model.IO;using MediaBrowser.Model.LiveTv;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.TunerHosts+namespace Jellyfin.LiveTv.TunerHosts{public partial class M3uParser{diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs b/src/Jellyfin.LiveTv/TunerHosts/SharedHttpStream.cssimilarity index 98%rename from Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.csrename to src/Jellyfin.LiveTv/TunerHosts/SharedHttpStream.csindex efb84a5152..5ef04ad9e9 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs+++ b/src/Jellyfin.LiveTv/TunerHosts/SharedHttpStream.cs@@ -1,3 +1,4 @@+#pragma warning disable CA1711#pragma warning disable CS1591using System;@@ -16,7 +17,7 @@ using MediaBrowser.Model.LiveTv;using MediaBrowser.Model.MediaInfo;using Microsoft.Extensions.Logging;-namespace Emby.Server.Implementations.LiveTv.TunerHosts+namespace Jellyfin.LiveTv.TunerHosts{public class SharedHttpStream : LiveStream, IDirectStreamProvider{diff --git a/tests/Jellyfin.LiveTv.Tests/HdHomerunHostTests.cs b/tests/Jellyfin.LiveTv.Tests/HdHomerunHostTests.csindex bc4b2da5b9..cb6eb91844 100644--- a/tests/Jellyfin.LiveTv.Tests/HdHomerunHostTests.cs+++ b/tests/Jellyfin.LiveTv.Tests/HdHomerunHostTests.cs@@ -6,7 +6,7 @@ using System.Threading;using System.Threading.Tasks;using AutoFixture;using AutoFixture.AutoMoq;-using Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun;+using Jellyfin.LiveTv.TunerHosts.HdHomerun;using MediaBrowser.Model.LiveTv;using Moq;using Moq.Protected;diff --git a/tests/Jellyfin.LiveTv.Tests/HdHomerunManagerTests.cs b/tests/Jellyfin.LiveTv.Tests/HdHomerunManagerTests.csindex fcebc0ff75..4ab0bd723c 100644--- a/tests/Jellyfin.LiveTv.Tests/HdHomerunManagerTests.cs+++ b/tests/Jellyfin.LiveTv.Tests/HdHomerunManagerTests.cs@@ -1,6 +1,6 @@using System;using System.Text;-using Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun;+using Jellyfin.LiveTv.TunerHosts.HdHomerun;using Xunit;namespace Jellyfin.LiveTv.Testsdiff --git a/tests/Jellyfin.LiveTv.Tests/Jellyfin.LiveTv.Tests.csproj b/tests/Jellyfin.LiveTv.Tests/Jellyfin.LiveTv.Tests.csprojindex de448bada6..f645f38c44 100644--- a/tests/Jellyfin.LiveTv.Tests/Jellyfin.LiveTv.Tests.csproj+++ b/tests/Jellyfin.LiveTv.Tests/Jellyfin.LiveTv.Tests.csproj@@ -24,6 +24,6 @@</ItemGroup><ItemGroup>- <ProjectReference Include="..\..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" />+ <ProjectReference Include="..\..\src\Jellyfin.LiveTv\Jellyfin.LiveTv.csproj" /></ItemGroup></Project>diff --git a/tests/Jellyfin.LiveTv.Tests/Listings/XmlTvListingsProviderTests.cs b/tests/Jellyfin.LiveTv.Tests/Listings/XmlTvListingsProviderTests.csindex 71d135735d..0fb7894e51 100644--- a/tests/Jellyfin.LiveTv.Tests/Listings/XmlTvListingsProviderTests.cs+++ b/tests/Jellyfin.LiveTv.Tests/Listings/XmlTvListingsProviderTests.cs@@ -6,7 +6,7 @@ using System.Threading;using System.Threading.Tasks;using AutoFixture;using AutoFixture.AutoMoq;-using Emby.Server.Implementations.LiveTv.Listings;+using Jellyfin.LiveTv.Listings;using MediaBrowser.Model.LiveTv;using Moq;using Moq.Protected;diff --git a/tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs b/tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.csindex a5941e7f08..b4960dc0b3 100644--- a/tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs+++ b/tests/Jellyfin.LiveTv.Tests/RecordingHelperTests.cs@@ -1,5 +1,5 @@using System;-using Emby.Server.Implementations.LiveTv.EmbyTV;+using Jellyfin.LiveTv.EmbyTV;using MediaBrowser.Controller.LiveTv;using Xunit;diff --git a/tests/Jellyfin.LiveTv.Tests/SchedulesDirect/SchedulesDirectDeserializeTests.cs b/tests/Jellyfin.LiveTv.Tests/SchedulesDirect/SchedulesDirectDeserializeTests.csindex 6b1f4d4161..6975d56d9e 100644--- a/tests/Jellyfin.LiveTv.Tests/SchedulesDirect/SchedulesDirectDeserializeTests.cs+++ b/tests/Jellyfin.LiveTv.Tests/SchedulesDirect/SchedulesDirectDeserializeTests.cs@@ -2,8 +2,8 @@ using System;using System.Collections.Generic;using System.IO;using System.Text.Json;-using Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos;using Jellyfin.Extensions.Json;+using Jellyfin.LiveTv.Listings.SchedulesDirectDtos;using Xunit;namespace Jellyfin.LiveTv.Tests.SchedulesDirect