aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs
diff options
context:
space:
mode:
authorLogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>2019-03-16 00:26:12 -0700
committerGitHub <noreply@github.com>2019-03-16 00:26:12 -0700
commit9df150679416b3d894afaab28a5e48c07d2d9226 (patch)
tree51f9a731e9e1a59560314e26c5635542f9631ed3 /MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs
parent1ee016c99745ed4a29f8995de1478ab6a6e410e9 (diff)
parent2d0844b5dbf08869896c5479c10675c4fe7fa988 (diff)
Merge pull request #2 from LogicalPhallacy/master
update lockoutfix to latest for testing
Diffstat (limited to 'MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs')
-rw-r--r--MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs18
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)
+ };
+ }
+ }
+}