aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <Bond.009@outlook.com>2019-03-15 18:08:51 +0100
committerBond_009 <Bond.009@outlook.com>2019-03-15 18:08:51 +0100
commita8140cc74b2d34ea09f2321a904936b510153976 (patch)
tree84d1aaadddba98cf6882adc369b5ea41e8a019b5
parentd5f080fefbac63736a8c01acebe08e6617c5c486 (diff)
parent35ff8ec713f4ad9c81e27c54fcc3025d7768367f (diff)
Merge branch 'master' of github.com:jellyfin/jellyfin into ffmpeg
-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)
+ };
+ }
+ }
+}