mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Add remote control chapter menu
This commit is contained in:
@@ -24,6 +24,12 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// <value>The audio language preference.</value>
|
||||
public string AudioLanguagePreference { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [play default audio track].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [play default audio track]; otherwise, <c>false</c>.</value>
|
||||
public bool PlayDefaultAudioTrack { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the subtitle language preference.
|
||||
/// </summary>
|
||||
@@ -61,6 +67,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
public UnratedItem[] BlockUnratedItems { get; set; }
|
||||
|
||||
public SubtitlePlaybackMode SubtitleMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UserConfiguration" /> class.
|
||||
/// </summary>
|
||||
@@ -68,6 +76,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
IsAdministrator = true;
|
||||
|
||||
PlayDefaultAudioTrack = true;
|
||||
EnableRemoteControlOfOtherUsers = true;
|
||||
EnableLiveTvManagement = true;
|
||||
EnableMediaPlayback = true;
|
||||
@@ -79,4 +88,12 @@ namespace MediaBrowser.Model.Configuration
|
||||
BlockUnratedItems = new UnratedItem[] { };
|
||||
}
|
||||
}
|
||||
|
||||
public enum SubtitlePlaybackMode
|
||||
{
|
||||
Default = 0,
|
||||
Always = 1,
|
||||
OnlyForced = 2,
|
||||
None = 3
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user