2024-08-30 13:29:48 +00:00
|
|
|
namespace Jellyfin.Data.Enums
|
2018-12-27 23:27:57 +00:00
|
|
|
{
|
2020-09-01 03:17:33 +00:00
|
|
|
/// <summary>
|
|
|
|
/// An enum representing a subtitle playback mode.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public enum SubtitlePlaybackMode
|
|
|
|
{
|
2020-09-01 03:17:33 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The default subtitle playback mode.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
Default = 0,
|
2020-09-01 03:17:33 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Always show subtitles.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
Always = 1,
|
2020-09-01 03:17:33 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Only show forced subtitles.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
OnlyForced = 2,
|
2020-09-01 03:17:33 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Don't show subtitles.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
None = 3,
|
2020-09-01 03:17:33 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Only show subtitles when the current audio stream is in a different language.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
Smart = 4
|
|
|
|
}
|
2019-01-13 19:31:15 +00:00
|
|
|
}
|