mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
07cc4be6a7
* 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
22 lines
558 B
C#
22 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)
|
|
};
|
|
}
|
|
}
|
|
}
|