diff options
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfiguration.cs | 19 | ||||
| -rw-r--r-- | MediaBrowser.Model/Drawing/ImageResolution.cs | 53 |
2 files changed, 72 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index e61b896b9..a07ab7121 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using MediaBrowser.Model.Drawing; using MediaBrowser.Model.Dto; using MediaBrowser.Model.Updates; @@ -240,5 +241,23 @@ namespace MediaBrowser.Model.Configuration /// Gets or sets a value indicating whether clients should be allowed to upload logs. /// </summary> public bool AllowClientLogUpload { get; set; } = true; + + /// <summary> + /// Gets or sets the dummy chapters duration in seconds. + /// </summary> + /// <value>The dummy chapters duration.</value> + public int DummyChapterDuration { get; set; } = 300; + + /// <summary> + /// Gets or sets the dummy chapter count. + /// </summary> + /// <value>The dummy chapter count.</value> + public int DummyChapterCount { get; set; } = 100; + + /// <summary> + /// Gets or sets the chapter image resolution. + /// </summary> + /// <value>The chapter image resolution.</value> + public ImageResolution ChapterImageResolution { get; set; } = ImageResolution.MatchSource; } } diff --git a/MediaBrowser.Model/Drawing/ImageResolution.cs b/MediaBrowser.Model/Drawing/ImageResolution.cs new file mode 100644 index 000000000..99967da45 --- /dev/null +++ b/MediaBrowser.Model/Drawing/ImageResolution.cs @@ -0,0 +1,53 @@ +namespace MediaBrowser.Model.Drawing +{ + /// <summary> + /// Enum ImageResolution. + /// </summary> + public enum ImageResolution + { + /// <summary> + /// MatchSource. + /// </summary> + MatchSource, + + /// <summary> + /// 144p. + /// </summary> + P144, + + /// <summary> + /// 240p. + /// </summary> + P240, + + /// <summary> + /// 360p. + /// </summary> + P360, + + /// <summary> + /// 480p. + /// </summary> + P480, + + /// <summary> + /// 720p. + /// </summary> + P720, + + /// <summary> + /// 1080p. + /// </summary> + P1080, + + /// <summary> + /// 1440p. + /// </summary> + P1440, + + /// <summary> + /// 2160p. + /// </summary> + P2160 + } +} |
