diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-03-15 12:48:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-15 12:48:15 -0400 |
| commit | 35ff8ec713f4ad9c81e27c54fcc3025d7768367f (patch) | |
| tree | 4002ed31e00f5ed740df5c3847ceac32bd561e69 | |
| parent | f85d45d17f13b89a8aa40ee97a7fbdcfc5742682 (diff) | |
| parent | 764c901cd7adc5ae95d2657822d2910e0c2e8468 (diff) | |
Merge pull request #1116 from Bond-009/sub
Fix exception caused by #1096
| -rw-r--r-- | MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs b/MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs new file mode 100644 index 000000000..09d974db6 --- /dev/null +++ b/MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using MediaBrowser.Common.Configuration; +using MediaBrowser.Model.Providers; + +namespace MediaBrowser.Common.Providers +{ + public class SubtitleConfigurationFactory : IConfigurationFactory + { + public IEnumerable<ConfigurationStore> GetConfigurations() + { + yield return new ConfigurationStore() + { + Key = "subtitles", + ConfigurationType = typeof(SubtitleOptions) + }; + } + } +} |
