The Free Software Media System - Server Backend & API
Apply suggestions from code review
Nyanmisaka98debe4817d5
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.csindex d70c51b86f..4aa9725744 100644--- a/Jellyfin.Api/Controllers/DynamicHlsController.cs+++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs@@ -1604,7 +1604,7 @@ public class DynamicHlsController : BaseJellyfinApiControllerPath.GetFileNameWithoutExtension(outputPath));}- var hlsArguments = string.Format(CultureInfo.InvariantCulture, "-hls_playlist_type {0} -hls_list_size 0", isEventPlaylist ? "event" : "vod");+ var hlsArguments = $"-hls_playlist_type {(isEventPlaylist ? "event" : "vod")} -hls_list_size 0";return string.Format(CultureInfo.InvariantCulture,