mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
21 lines
558 B
C#
21 lines
558 B
C#
#pragma warning disable CS1591
|
|
|
|
using System.Collections.Generic;
|
|
using MediaBrowser.Common.Configuration;
|
|
using MediaBrowser.Model.Providers;
|
|
|
|
namespace MediaBrowser.Common.Providers
|
|
{
|
|
public class SubtitleConfigurationFactory : IConfigurationFactory
|
|
{
|
|
/// <inheritdoc />
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
{
|
|
yield return new ConfigurationStore()
|
|
{
|
|
Key = "subtitles",
|
|
ConfigurationType = typeof(SubtitleOptions)
|
|
};
|
|
}
|
|
}
|
|
}
|