The Free Software Media System - Server Backend & API
Move LiveTvConfigurationFactory to Configuration folder
Patrick Barron063168fc1c59
diff --git a/src/Jellyfin.LiveTv/Configuration/LiveTvConfigurationFactory.cs b/src/Jellyfin.LiveTv/Configuration/LiveTvConfigurationFactory.csnew file mode 100644index 0000000000..258afbb056--- /dev/null+++ b/src/Jellyfin.LiveTv/Configuration/LiveTvConfigurationFactory.cs@@ -0,0 +1,24 @@+using System.Collections.Generic;+using MediaBrowser.Common.Configuration;+using MediaBrowser.Model.LiveTv;++namespace Jellyfin.LiveTv.Configuration;++/// <summary>+/// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.+/// </summary>+public class LiveTvConfigurationFactory : IConfigurationFactory+{+ /// <inheritdoc />+ public IEnumerable<ConfigurationStore> GetConfigurations()+ {+ return new[]+ {+ new ConfigurationStore+ {+ ConfigurationType = typeof(LiveTvOptions),+ Key = "livetv"+ }+ };+ }+}diff --git a/src/Jellyfin.LiveTv/LiveTvConfigurationFactory.cs b/src/Jellyfin.LiveTv/LiveTvConfigurationFactory.csdeleted file mode 100644index ddbf6345c5..0000000000--- a/src/Jellyfin.LiveTv/LiveTvConfigurationFactory.cs+++ /dev/null@@ -1,25 +0,0 @@-using System.Collections.Generic;-using MediaBrowser.Common.Configuration;-using MediaBrowser.Model.LiveTv;--namespace Jellyfin.LiveTv-{- /// <summary>- /// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.- /// </summary>- public class LiveTvConfigurationFactory : IConfigurationFactory- {- /// <inheritdoc />- public IEnumerable<ConfigurationStore> GetConfigurations()- {- return new ConfigurationStore[]- {- new ConfigurationStore- {- ConfigurationType = typeof(LiveTvOptions),- Key = "livetv"- }- };- }- }-}