The Free Software Media System - Server Backend & API
Minor code formatting (cvium)
Nick65b269c151e0
diff --git a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs b/Jellyfin.Api/Helpers/DynamicHlsHelper.csindex 45e0d475d7..9b0b65b104 100644--- a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs+++ b/Jellyfin.Api/Helpers/DynamicHlsHelper.cs@@ -307,7 +307,7 @@ public class DynamicHlsHelperAppendPlaylist(builder, state, variantUrl, newBitrate, subtitleGroup);}- if (!isLiveStream && (state.VideoRequest?.EnableTrickplay).GetValueOrDefault(false))+ if (!isLiveStream && (state.VideoRequest?.EnableTrickplay ?? false)){var sourceId = Guid.Parse(state.Request.MediaSourceId);var trickplayResolutions = await _trickplayManager.GetTrickplayResolutions(sourceId).ConfigureAwait(false);@@ -565,7 +565,7 @@ public class DynamicHlsHelperstate.Request.MediaSourceId,user.GetToken());- var line = string.Format(+ builder.AppendFormat(CultureInfo.InvariantCulture,playlistFormat,trickplayInfo.Bandwidth.ToString(CultureInfo.InvariantCulture),@@ -573,7 +573,7 @@ public class DynamicHlsHelpertrickplayInfo.Height.ToString(CultureInfo.InvariantCulture),url);- builder.AppendLine(line);+ builder.AppendLine();}}