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