jellyfin/Emby.Server.Implementations/LiveTv/LiveTvConfigurationFactory.cs

26 lines
729 B
C#
Raw Normal View History

using System.Collections.Generic;
using MediaBrowser.Common.Configuration;
2014-07-30 22:09:23 -04:00
using MediaBrowser.Model.LiveTv;
2014-07-27 18:01:29 -04:00
2016-11-03 19:35:19 -04:00
namespace Emby.Server.Implementations.LiveTv
2014-07-27 18:01:29 -04:00
{
2021-05-28 08:33:54 -04:00
/// <summary>
/// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.
/// </summary>
2014-07-27 18:01:29 -04:00
public class LiveTvConfigurationFactory : IConfigurationFactory
{
2021-05-28 08:33:54 -04:00
/// <inheritdoc />
2014-07-27 18:01:29 -04:00
public IEnumerable<ConfigurationStore> GetConfigurations()
{
2018-09-12 13:26:21 -04:00
return new ConfigurationStore[]
2014-07-27 18:01:29 -04:00
{
new ConfigurationStore
{
2021-05-28 08:33:54 -04:00
ConfigurationType = typeof(LiveTvOptions),
Key = "livetv"
2014-07-27 18:01:29 -04:00
}
};
}
}
}