mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-17 23:56:44 +00:00
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
committed by
Shadowghost
parent
9799136daf
commit
e0344353cd
@@ -206,7 +206,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);
|
||||
}
|
||||
@@ -244,7 +244,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);
|
||||
}
|
||||
@@ -280,7 +280,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user