fix SA1508

This commit is contained in:
telans
2020-06-14 21:35:49 +12:00
parent acd4389653
commit 3d9049ef08
150 changed files with 1 additions and 226 deletions

View File

@@ -269,7 +269,6 @@ namespace MediaBrowser.MediaEncoding.Attachments
if (disposing)
{
}
_disposed = true;

View File

@@ -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

View File

@@ -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)

View File

@@ -261,7 +261,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
text += "</font>";
}
}
}
text = text.Replace(@"{\i1}", "<i>");

View File

@@ -640,7 +640,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
}
catch (FileNotFoundException)
{
}
catch (IOException ex)
{