mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
fix SA1508
This commit is contained in:
@@ -269,7 +269,6 @@ namespace MediaBrowser.MediaEncoding.Attachments
|
||||
|
||||
if (disposing)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
_disposed = true;
|
||||
|
||||
@@ -920,7 +920,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
var fileParts = _fileSystem.GetFileNameWithoutExtension(f).Split('_');
|
||||
|
||||
return fileParts.Length == 3 && string.Equals(title, fileParts[1], StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
}).ToList();
|
||||
|
||||
// If this resulted in not getting any vobs, just take them all
|
||||
|
||||
@@ -413,7 +413,6 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
.Where(i => !string.IsNullOrWhiteSpace(i))
|
||||
.Distinct(StringComparer.OrdinalIgnoreCase)
|
||||
.ToArray();
|
||||
|
||||
}
|
||||
else if (string.Equals(key, "screenwriters", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
@@ -425,7 +424,6 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
Type = PersonType.Writer
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
else if (string.Equals(key, "producers", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
@@ -1028,7 +1026,6 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
audio.AlbumArtists = SplitArtists(albumArtist, _nameDelimiters, true)
|
||||
.DistinctNames()
|
||||
.ToArray();
|
||||
|
||||
}
|
||||
|
||||
if (audio.AlbumArtists.Length == 0)
|
||||
|
||||
@@ -261,7 +261,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
text += "</font>";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
text = text.Replace(@"{\i1}", "<i>");
|
||||
|
||||
@@ -640,7 +640,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user