diff options
| author | artiume <siderite@gmail.com> | 2020-12-30 08:52:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-30 08:52:11 -0500 |
| commit | cd979e6b6291d426f3e180e36b5a8ba68c208cbd (patch) | |
| tree | b671afc9a123d8a2455727d0e23df7e419dae07d /MediaBrowser.Model/Configuration/ServerConfiguration.cs | |
| parent | 99adbf04975dcb233b49ea9f3eead358dd4d39fa (diff) | |
Add default of 5 minutes
Diffstat (limited to 'MediaBrowser.Model/Configuration/ServerConfiguration.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfiguration.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 7013cb300..9fb978e9b 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -299,6 +299,18 @@ namespace MediaBrowser.Model.Configuration public int MinResumeDurationSeconds { get; set; } = 300; /// <summary> + /// Gets or sets the minimum minutes of a book that must be played in order for playstate to be updated. + /// </summary> + /// <value>The min resume in minutes.</value> + public int MinAudiobookResume { get; set; } = 5; + + /// <summary> + /// Gets or sets the remaining minutes of a book that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched. + /// </summary> + /// <value>The remaining time in minutes.</value> + public int MaxAudiobookResume { get; set; } = 5; + + /// <summary> /// Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed /// Some delay is necessary with some items because their creation is not atomic. It involves the creation of several /// different directories and files. |
