LiveTvConfigurationFactory.cs 576 B

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