The Free Software Media System - Server Backend & API
Minor code changes
Nickfc619337481e
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex 933b95df04..19ae396628 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -1064,7 +1064,7 @@ namespace Emby.Server.Implementations.Dtoif (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.diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex 097eff295a..18f107503e 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -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();}}