Minor code changes

This commit is contained in:
Nick 2023-06-26 22:04:39 -07:00
parent ab20ceaad6
commit fc61933748
2 changed files with 5 additions and 1 deletions

View File

@ -1064,7 +1064,7 @@ namespace Emby.Server.Implementations.Dto
if (options.ContainsField(ItemFields.Trickplay))
{
var manifest = _trickplayManager.GetTrickplayManifest(item).ConfigureAwait(false).GetAwaiter().GetResult();
var manifest = _trickplayManager.GetTrickplayManifest(item).GetAwaiter().GetResult();
// To stay consistent with other fields, this must go from a Guid to a non-dashed string.
// This does not seem to occur automatically to dictionaries like it does with other Guid fields.

View File

@ -265,6 +265,10 @@ namespace MediaBrowser.Model.Configuration
/// <value>The limit for parallel image encoding.</value>
public int ParallelImageEncodingLimit { get; set; }
/// <summary>
/// Gets or sets the trickplay options.
/// </summary>
/// <value>The trickplay options.</value>
public TrickplayOptions TrickplayOptions { get; set; } = new TrickplayOptions();
}
}