aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/DynamicHlsHelper.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-11-27 08:02:32 -0700
committerGitHub <noreply@github.com>2022-11-27 08:02:32 -0700
commit5787ab15dc297da6d2e1ec984ccf19751ed85db6 (patch)
tree8df1a2b1f35fea3c41e1a8720d8d1738e51848ed /Jellyfin.Api/Helpers/DynamicHlsHelper.cs
parent37daeffafa69ceffbcf531057c49d38a2fa064e5 (diff)
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Jellyfin.Api/Helpers/DynamicHlsHelper.cs')
-rw-r--r--Jellyfin.Api/Helpers/DynamicHlsHelper.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Api/Helpers/DynamicHlsHelper.cs b/Jellyfin.Api/Helpers/DynamicHlsHelper.cs
index 853fbe89d..ee672cab4 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);
}