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