| | | 1 | | #pragma warning disable CS1591 |
| | | 2 | | |
| | | 3 | | using System; |
| | | 4 | | using Jellyfin.Database.Implementations.Enums; |
| | | 5 | | |
| | | 6 | | namespace MediaBrowser.Model.Configuration |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// Class UserConfiguration. |
| | | 10 | | /// </summary> |
| | | 11 | | public class UserConfiguration |
| | | 12 | | { |
| | | 13 | | /// <summary> |
| | | 14 | | /// Initializes a new instance of the <see cref="UserConfiguration" /> class. |
| | | 15 | | /// </summary> |
| | | 16 | | public UserConfiguration() |
| | | 17 | | { |
| | 124 | 18 | | EnableNextEpisodeAutoPlay = true; |
| | 124 | 19 | | RememberAudioSelections = true; |
| | 124 | 20 | | RememberSubtitleSelections = true; |
| | | 21 | | |
| | 124 | 22 | | HidePlayedInLatest = true; |
| | 124 | 23 | | PlayDefaultAudioTrack = true; |
| | | 24 | | |
| | 124 | 25 | | LatestItemsExcludes = Array.Empty<Guid>(); |
| | 124 | 26 | | OrderedViews = Array.Empty<Guid>(); |
| | 124 | 27 | | MyMediaExcludes = Array.Empty<Guid>(); |
| | 124 | 28 | | GroupedFolders = Array.Empty<Guid>(); |
| | 124 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// Gets or sets the audio language preference. |
| | | 33 | | /// </summary> |
| | | 34 | | /// <value>The audio language preference.</value> |
| | | 35 | | public string? AudioLanguagePreference { get; set; } |
| | | 36 | | |
| | | 37 | | /// <summary> |
| | | 38 | | /// Gets or sets a value indicating whether [play default audio track]. |
| | | 39 | | /// </summary> |
| | | 40 | | /// <value><c>true</c> if [play default audio track]; otherwise, <c>false</c>.</value> |
| | | 41 | | public bool PlayDefaultAudioTrack { get; set; } |
| | | 42 | | |
| | | 43 | | /// <summary> |
| | | 44 | | /// Gets or sets the subtitle language preference. |
| | | 45 | | /// </summary> |
| | | 46 | | /// <value>The subtitle language preference.</value> |
| | | 47 | | public string? SubtitleLanguagePreference { get; set; } |
| | | 48 | | |
| | | 49 | | public bool DisplayMissingEpisodes { get; set; } |
| | | 50 | | |
| | | 51 | | public Guid[] GroupedFolders { get; set; } |
| | | 52 | | |
| | | 53 | | public SubtitlePlaybackMode SubtitleMode { get; set; } |
| | | 54 | | |
| | | 55 | | public bool DisplayCollectionsView { get; set; } |
| | | 56 | | |
| | | 57 | | public bool EnableLocalPassword { get; set; } |
| | | 58 | | |
| | | 59 | | public Guid[] OrderedViews { get; set; } |
| | | 60 | | |
| | | 61 | | public Guid[] LatestItemsExcludes { get; set; } |
| | | 62 | | |
| | | 63 | | public Guid[] MyMediaExcludes { get; set; } |
| | | 64 | | |
| | | 65 | | public bool HidePlayedInLatest { get; set; } |
| | | 66 | | |
| | | 67 | | public bool RememberAudioSelections { get; set; } |
| | | 68 | | |
| | | 69 | | public bool RememberSubtitleSelections { get; set; } |
| | | 70 | | |
| | | 71 | | public bool EnableNextEpisodeAutoPlay { get; set; } |
| | | 72 | | |
| | | 73 | | /// <summary> |
| | | 74 | | /// Gets or sets the id of the selected cast receiver. |
| | | 75 | | /// </summary> |
| | | 76 | | public string? CastReceiverId { get; set; } |
| | | 77 | | } |
| | | 78 | | } |