aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs
diff options
context:
space:
mode:
authorLogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>2019-03-16 00:25:16 -0700
committerGitHub <noreply@github.com>2019-03-16 00:25:16 -0700
commit2d0844b5dbf08869896c5479c10675c4fe7fa988 (patch)
treedea28b14d2b1733edf1a90a46f4163f6123616fe /MediaBrowser.Common/Providers/SubtitleConfigurationFactory.cs
parent221389089cc9ca4b69907d6bf3e9d38bf94393ea (diff)
parent59031ee3b8b2ac8298c41f9171b658e3f15e17bc (diff)
Merge pull request #1 from jellyfin/master
merging myself to latest
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)
+ };
+ }
+ }
+}