mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-31 14:33:54 -04:00
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
37daeffafa
commit
5787ab15dc
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user