diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-09-03 16:17:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-03 16:17:02 +0200 |
| commit | 79e51b7fa20dbcb013ddd335fa829f83802dae71 (patch) | |
| tree | 046d44c729b1f6b3a2370c78403517daa0a174d6 /MediaBrowser.Model/Entities | |
| parent | 2f360151c266ff0885589338fdcdebd2a0c57fae (diff) | |
| parent | bfb37a9ed9989f63ee8b00f41f4efef7a92fc157 (diff) | |
Merge pull request #6475 from crobibero/warn-259810
Remove more and more warnings
Diffstat (limited to 'MediaBrowser.Model/Entities')
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 8955012d7..38ac44794 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -266,7 +266,7 @@ namespace MediaBrowser.Model.Entities foreach (var tag in attributes) { // Keep Tags that are not already in Title. - if (Title.IndexOf(tag, StringComparison.OrdinalIgnoreCase) == -1) + if (!Title.Contains(tag, StringComparison.OrdinalIgnoreCase)) { result.Append(" - ").Append(tag); } |
