diff options
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfiguration.cs | 18 | ||||
| -rw-r--r-- | MediaBrowser.Model/Drawing/ImageResolution.cs | 43 |
2 files changed, 61 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index e61b896b9..c37c167eb 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -240,5 +240,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 string ChapterImageResolution { get; set; } = "Match Source"; } } diff --git a/MediaBrowser.Model/Drawing/ImageResolution.cs b/MediaBrowser.Model/Drawing/ImageResolution.cs new file mode 100644 index 000000000..7e1c54f5a --- /dev/null +++ b/MediaBrowser.Model/Drawing/ImageResolution.cs @@ -0,0 +1,43 @@ +namespace MediaBrowser.Model.Drawing +{ + /// <summary> + /// Enum ImageResolution. + /// </summary> + public enum ImageResolution + { + /// <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 + } +} |
