SubtitleConfigurationFactory.cs 499 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using MediaBrowser.Common.Configuration;
  3. using MediaBrowser.Model.Providers;
  4. namespace MediaBrowser.Common.Providers
  5. {
  6. public class SubtitleConfigurationFactory : IConfigurationFactory
  7. {
  8. public IEnumerable<ConfigurationStore> GetConfigurations()
  9. {
  10. yield return new ConfigurationStore()
  11. {
  12. Key = "subtitles",
  13. ConfigurationType = typeof(SubtitleOptions)
  14. };
  15. }
  16. }
  17. }