aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs
diff options
context:
space:
mode:
authorMatthew Jones <matthewbtjones2000@gmail.com>2022-01-26 16:09:05 +0000
committerMatthew Jones <matthewbtjones2000@gmail.com>2022-01-26 16:09:05 +0000
commit91d143d6ee25a309efadf1575a1efc432adb81cf (patch)
tree652680381b5ffb2c65646390d947e371ca76849d /MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs
parent61d8d40a4a2bcdfd72d810f1c22247dfc53d6d53 (diff)
Changed boolean options to enums
Diffstat (limited to 'MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs')
-rw-r--r--MediaBrowser.Model/Configuration/EmbeddedSubtitleOptions.cs30
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,
+ }
+
+}