mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
Changed boolean options to enums
This commit is contained in:
30
MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs
Normal file
30
MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the options to disable embedded subs.
|
||||
/// </summary>
|
||||
public enum EmbeddedSubtitleOptions
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Allow all embedded subs.
|
||||
/// </summary>
|
||||
AllowAll,
|
||||
|
||||
/// <summary>
|
||||
/// Allow only embedded subs that are text based.
|
||||
/// </summary>
|
||||
AllowText,
|
||||
|
||||
/// <summary>
|
||||
/// Allow only embedded subs that are image based.
|
||||
/// </summary>
|
||||
AllowImage,
|
||||
|
||||
/// <summary>
|
||||
/// Disable all embedded subs.
|
||||
/// </summary>
|
||||
AllowNone,
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user