mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Merge pull request #1116 from Bond-009/sub
Fix exception caused by #1096
This commit is contained in:
commit
35ff8ec713
1 changed files with 18 additions and 0 deletions
|
@ -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)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue