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-31 04:09:23 +02:00
using MediaBrowser.Model.LiveTv;
2014-07-28 00:01:29 +02:00
2016-11-04 00:35:19 +01:00
namespace Emby.Server.Implementations.LiveTv
2014-07-28 00:01:29 +02:00
{
2021-05-28 14:33:54 +02:00
/// <summary>
/// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.
/// </summary>
2014-07-28 00:01:29 +02:00
public class LiveTvConfigurationFactory : IConfigurationFactory
{
2021-05-28 14:33:54 +02:00
/// <inheritdoc />
2014-07-28 00:01:29 +02:00
public IEnumerable<ConfigurationStore> GetConfigurations()
{
2018-09-12 19:26:21 +02:00
return new ConfigurationStore[]
2014-07-28 00:01:29 +02:00
{
new ConfigurationStore
{
2021-05-28 14:33:54 +02:00
ConfigurationType = typeof(LiveTvOptions),
Key = "livetv"
2014-07-28 00:01:29 +02:00
}
};
}
}
}