The Free Software Media System - Server Backend & API
Apply suggestions from code review
Cody Robibero5787ab15dc29
diff --git a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs b/Jellyfin.Api/Helpers/DynamicHlsHelper.csindex 853fbe89d5..ee672cab4e 100644--- a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs+++ b/Jellyfin.Api/Helpers/DynamicHlsHelper.cs@@ -199,7 +199,7 @@ namespace Jellyfin.Api.Helpers{// Provide a workaround for the case issue between flac and fLaC.var flacWaPlaylist = ApplyFlacCaseWorkaround(state, basicPlaylist.ToString());- if (!String.IsNullOrEmpty(flacWaPlaylist))+ if (!string.IsNullOrEmpty(flacWaPlaylist)){builder.Append(flacWaPlaylist);}@@ -226,7 +226,7 @@ namespace Jellyfin.Api.Helpers// Provide a workaround for the case issue between flac and fLaC.flacWaPlaylist = ApplyFlacCaseWorkaround(state, sdrPlaylist.ToString());- if (!String.IsNullOrEmpty(flacWaPlaylist))+ if (!string.IsNullOrEmpty(flacWaPlaylist)){builder.Append(flacWaPlaylist);}@@ -262,7 +262,7 @@ namespace Jellyfin.Api.Helpers// Provide a workaround for the case issue between flac and fLaC.flacWaPlaylist = ApplyFlacCaseWorkaround(state, newPlaylist);- if (!String.IsNullOrEmpty(flacWaPlaylist))+ if (!string.IsNullOrEmpty(flacWaPlaylist)){builder.Append(flacWaPlaylist);}