2
0

LiveTvConfigurationFactory.cs 636 B

123456789101112131415161718192021222324
  1. #pragma warning disable CS1591
  2. #pragma warning disable SA1600
  3. using System.Collections.Generic;
  4. using MediaBrowser.Common.Configuration;
  5. using MediaBrowser.Model.LiveTv;
  6. namespace Emby.Server.Implementations.LiveTv
  7. {
  8. public class LiveTvConfigurationFactory : IConfigurationFactory
  9. {
  10. public IEnumerable<ConfigurationStore> GetConfigurations()
  11. {
  12. return new ConfigurationStore[]
  13. {
  14. new ConfigurationStore
  15. {
  16. ConfigurationType = typeof(LiveTvOptions),
  17. Key = "livetv"
  18. }
  19. };
  20. }
  21. }
  22. }