diff options
| author | Matthew Jones <matthewbtjones2000@gmail.com> | 2022-01-26 16:09:05 +0000 |
|---|---|---|
| committer | Matthew Jones <matthewbtjones2000@gmail.com> | 2022-01-26 16:09:05 +0000 |
| commit | 91d143d6ee25a309efadf1575a1efc432adb81cf (patch) | |
| tree | 652680381b5ffb2c65646390d947e371ca76849d /MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs | |
| parent | 61d8d40a4a2bcdfd72d810f1c22247dfc53d6d53 (diff) | |
Changed boolean options to enums
Diffstat (limited to 'MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs b/MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs new file mode 100644 index 000000000..948027603 --- /dev/null +++ b/MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs @@ -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, + } + +} |
